0.3.5 - make archive_at public

parent b26195f4
Pipeline #5140 passed with stages
in 3 minutes and 43 seconds
...@@ -97,7 +97,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" ...@@ -97,7 +97,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]] [[package]]
name = "redoxfs" name = "redoxfs"
version = "0.3.4" version = "0.3.5"
dependencies = [ dependencies = [
"fuse 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "fuse 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
name = "redoxfs" name = "redoxfs"
description = "The Redox Filesystem" description = "The Redox Filesystem"
repository = "https://gitlab.redox-os.org/redox-os/redoxfs" repository = "https://gitlab.redox-os.org/redox-os/redoxfs"
version = "0.3.4" version = "0.3.5"
license-file = "LICENSE" license-file = "LICENSE"
readme = "README.md" readme = "README.md"
authors = ["Jeremy Soller <jackpot51@gmail.com>"] authors = ["Jeremy Soller <jackpot51@gmail.com>"]
......
...@@ -10,7 +10,7 @@ fn syscall_err(err: syscall::Error) -> io::Error { ...@@ -10,7 +10,7 @@ fn syscall_err(err: syscall::Error) -> io::Error {
io::Error::from_raw_os_error(err.errno) io::Error::from_raw_os_error(err.errno)
} }
fn archive_at<D: Disk, P: AsRef<Path>>(fs: &mut FileSystem<D>, parent_path: P, parent_block: u64) -> io::Result<()> { pub fn archive_at<D: Disk, P: AsRef<Path>>(fs: &mut FileSystem<D>, parent_path: P, parent_block: u64) -> io::Result<()> {
for entry_res in fs::read_dir(parent_path)? { for entry_res in fs::read_dir(parent_path)? {
let entry = entry_res?; let entry = entry_res?;
......
...@@ -11,7 +11,7 @@ pub const SIGNATURE: &'static [u8; 8] = b"RedoxFS\0"; ...@@ -11,7 +11,7 @@ pub const SIGNATURE: &'static [u8; 8] = b"RedoxFS\0";
pub const VERSION: u64 = 3; pub const VERSION: u64 = 3;
pub static IS_UMT: AtomicUsize = AtomicUsize::new(0); pub static IS_UMT: AtomicUsize = AtomicUsize::new(0);
pub use self::archive::archive; pub use self::archive::{archive, archive_at};
pub use self::disk::{Disk, DiskCache, DiskFile, DiskSparse}; pub use self::disk::{Disk, DiskCache, DiskFile, DiskSparse};
pub use self::ex_node::ExNode; pub use self::ex_node::ExNode;
pub use self::extent::Extent; pub use self::extent::Extent;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment