Mercurial > hgrepos > Python > apps > py-cutils
changeset 192:188de62caac6
Comment WalkDirEntry properties somewhat
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 16 Jan 2025 12:19:02 +0100 |
| parents | 1b8bc876146a |
| children | fb36e71f6ba8 |
| files | cutils/util/walk.py |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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:
