Document that Metadata can be obtained from symlink_metadata

This commit is contained in:
Andrea Canciani 2017-01-20 09:31:06 +01:00
parent b53d374790
commit 780371107d

View File

@ -90,11 +90,13 @@ pub struct File {
/// Metadata information about a file. /// Metadata information about a file.
/// ///
/// This structure is returned from the [`metadata`] function or method and /// This structure is returned from the [`metadata`] or
/// represents known metadata about a file such as its permissions, size, /// [`symlink_metadata`] function or method and represents known
/// modification times, etc. /// metadata about a file such as its permissions, size, modification
/// times, etc.
/// ///
/// [`metadata`]: fn.metadata.html /// [`metadata`]: fn.metadata.html
/// [`symlink_metadata`]: fn.symlink_metadata.html
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]
#[derive(Clone)] #[derive(Clone)]
pub struct Metadata(fs_imp::FileAttr); pub struct Metadata(fs_imp::FileAttr);