diff cutils/util/walk.py @ 282:d507ae4943d5

Reordering of methods: make it a little bit more consistent
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 23 Feb 2025 12:40:28 +0100
parents 16507317e834
children 99b78fa04bc1
line wrap: on
line diff
--- a/cutils/util/walk.py	Sun Feb 23 12:37:34 2025 +0100
+++ b/cutils/util/walk.py	Sun Feb 23 12:40:28 2025 +0100
@@ -100,17 +100,6 @@
         return s
 
     @property
-    def alt_fsname(self):
-        """Alternative and "escaped" filesystem name -- always bytes.
-
-        :rtype: bytes
-
-        """
-        if self._alt_fsname is _notset:
-            self._alt_fsname = WalkDirEntry.alt_fs(self._name)
-        return self._alt_fsname
-
-    @property
     def fspath(self):
         """Always bytes.
 
@@ -133,6 +122,17 @@
         return p
 
     @property
+    def alt_fsname(self):
+        """Alternative and "escaped" filesystem name -- always bytes.
+
+        :rtype: bytes
+
+        """
+        if self._alt_fsname is _notset:
+            self._alt_fsname = WalkDirEntry.alt_fs(self._name)
+        return self._alt_fsname
+
+    @property
     def alt_fspath(self):
         """Alternative and "escaped" filesystem path -- always bytes.