Răsfoiți Sursa

style: Remove TODO message on the absolute_path property

Robert Minsk 2 ani în urmă
părinte
comite
066bc154fb
1 a modificat fișierele cu 1 adăugiri și 5 ștergeri
  1. 1 5
      src/fs/file.rs

+ 1 - 5
src/fs/file.rs

@@ -82,12 +82,8 @@ pub struct File<'dir> {
     /// The extended attributes of this file.
     /// The extended attributes of this file.
     pub extended_attributes: Vec<Attribute>,
     pub extended_attributes: Vec<Attribute>,
 
 
-    // TODO: Resolving an absolute path can be an expensive call.  We only
-    // TODO: need the absolute path if we are displaying mounts.  Make this
-    // TODO: conditional on the --mount command line option.  Maybe resolve
-    // TODO: value when requested.
     /// The absolute value of this path, used to look up mount points.
     /// The absolute value of this path, used to look up mount points.
-    absolute_path: Option<PathBuf>,
+    pub absolute_path: Option<PathBuf>,
 }
 }
 
 
 impl<'dir> File<'dir> {
 impl<'dir> File<'dir> {