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