Procházet zdrojové kódy

Update src/fs/file.rs

Chester Liu před 3 roky
rodič
revize
6fb3740f24
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/fs/file.rs

+ 1 - 0
src/fs/file.rs

@@ -475,6 +475,7 @@ impl<'dir> File<'dir> {
         let bits = self.metadata.file_attributes();
         let bits = self.metadata.file_attributes();
         let has_bit = |bit| bits & bit == bit;
         let has_bit = |bit| bits & bit == bit;
 
 
+        // https://docs.microsoft.com/en-us/windows/win32/fileio/file-attribute-constants
         f::Attributes {
         f::Attributes {
             directory:      has_bit(0x10),
             directory:      has_bit(0x10),
             archive:        has_bit(0x20),
             archive:        has_bit(0x20),