[−][src]Trait webdav_handler::fs::DavMetaData
File metadata. Basically type, length, and some timestamps.
Required methods
pub fn len(&self) -> u64[src]
Size of the file.
pub fn modified(&self) -> FsResult<SystemTime>[src]
Modified timestamp.
pub fn is_dir(&self) -> bool[src]
File or directory (aka collection).
Provided methods
pub fn etag(&self) -> Option<String>[src]
Simplistic implementation of etag()
Returns a simple etag that basically is \<length\>-\<timestamp_in_ms\>
with the numbers in hex. Enough for most implementations.
pub fn is_file(&self) -> bool[src]
Is this a file and not a directory. Default: !s_dir().
pub fn is_symlink(&self) -> bool[src]
Is this a symbolic link. Default: false.
pub fn accessed(&self) -> FsResult<SystemTime>[src]
Last access time. Default: FsError::NotImplemented.
pub fn created(&self) -> FsResult<SystemTime>[src]
Creation time. Default: FsError::NotImplemented.
pub fn status_changed(&self) -> FsResult<SystemTime>[src]
Inode change time (ctime). Default: FsError::NotImplemented.
pub fn executable(&self) -> FsResult<bool>[src]
Is file executable (unix: has "x" mode bit). Default: FsError::NotImplemented.