diff cutils/util/walk.py @ 192:188de62caac6

Comment WalkDirEntry properties somewhat
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 16 Jan 2025 12:19:02 +0100
parents dac26a2d9de5
children e5f6f4db9157
line wrap: on
line diff
--- a/cutils/util/walk.py	Thu Jan 16 11:31:37 2025 +0100
+++ b/cutils/util/walk.py	Thu Jan 16 12:19:02 2025 +0100
@@ -45,18 +45,22 @@
 
     @property
     def name(self):
+        """The native name"""
         return self._name
 
     @property
     def fsname(self):
+        """The name as bytes"""
         return self._fsname
 
     @property
     def path(self):
+        """Always native"""
         return self._path
 
     @property
     def fspath(self):
+        """Always bytes"""
         if self._path is not None:
             if self._fspath is None:
                 if PY2: