diff options
author | Ben S <ogham@bsago.me> | 2015-05-16 18:16:35 +0100 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2015-05-16 18:16:35 +0100 |
commit | a687dc936ef7ead40c05c632d63deb033f9993d8 (patch) | |
tree | eb00472453b37509dfdec42e71bf71eedb85b526 /src/feature | |
parent | fcc864eb679a0fa044b4297fbb3ce5d0aaf46265 (diff) |
Rename 'stat' -> 'metadata'
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/mod.rs | 4 | ||||
-rw-r--r-- | src/feature/xattr_darwin.rs | 4 | ||||
-rw-r--r-- | src/feature/xattr_linux.rs | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/feature/mod.rs b/src/feature/mod.rs index 8fa0491..13f3b9b 100644 --- a/src/feature/mod.rs +++ b/src/feature/mod.rs @@ -24,12 +24,12 @@ impl Attribute { unimplemented!() } - /// Lists the extended attributes. Follows symlinks like `stat` + /// Lists the extended attributes. Follows symlinks like `metadata` pub fn list(_: &Path) -> io::IoResult<Vec<Attribute>> { Ok(Vec::new()) } - /// Lists the extended attributes. Does not follow symlinks like `lstat` + /// Lists the extended attributes. Does not follow symlinks like `symlink_metadata` pub fn llist(_: &Path) -> io::IoResult<Vec<Attribute>> { Ok(Vec::new()) } diff --git a/src/feature/xattr_darwin.rs b/src/feature/xattr_darwin.rs index fc682c9..4d0abd8 100644 --- a/src/feature/xattr_darwin.rs +++ b/src/feature/xattr_darwin.rs @@ -111,12 +111,12 @@ impl Attribute { } /// Lists the extended attributes. - /// Follows symlinks like `stat` + /// Follows symlinks like `metadata` pub fn list(path: &Path) -> io::Result<Vec<Attribute>> { Attribute::list_attrs(path, &[]) } /// Lists the extended attributes. - /// Does not follow symlinks like `lstat` + /// Does not follow symlinks like `symlink_metadata` pub fn llist(path: &Path) -> io::Result<Vec<Attribute>> { Attribute::list_attrs(path, &[ListFlags::NoFollow]) } diff --git a/src/feature/xattr_linux.rs b/src/feature/xattr_linux.rs index 9d45345..9e7fd23 100644 --- a/src/feature/xattr_linux.rs +++ b/src/feature/xattr_linux.rs @@ -102,12 +102,12 @@ impl Attribute { } /// Lists the extended attributes. - /// Follows symlinks like `stat` + /// Follows symlinks like `metadata` pub fn list(path: &Path) -> io::Result<Vec<Attribute>> { Attribute::list_attrs(path, FollowSymlinks::Yes) } /// Lists the extended attributes. - /// Does not follow symlinks like `lstat` + /// Does not follow symlinks like `symlink_metadata` pub fn llist(path: &Path) -> io::Result<Vec<Attribute>> { Attribute::list_attrs(path, FollowSymlinks::No) } |