debian-forge/osbuild/util
Christian Kellner 2fd83ac90d util: add types module defining PathLike type
Add a simple new module meant to define types that are commonly
used throughout the code-base. For starters, define `PathLike`
meant to represent file system paths, i.e. strings, bytes, or
anything that provides the `os.PathLike` protocol, i.e. that
can be used with `os.fspath`.
2020-07-27 12:50:38 +01:00
..
__init__.py util: mark as module 2020-04-21 17:00:04 +02:00
ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
jsoncomm.py util/jsoncomm: simplify condition 2020-05-29 11:07:29 +02:00
linux.py util/linux: add explicit FS_IMMUTABLE_FL helpers 2020-04-21 14:46:02 +02:00
osrelease.py osbuild: move osrelease parser into ./util 2020-04-28 15:39:00 +02:00
ostree.py util/ostree: accept typing.List for List[str] 2020-06-09 13:42:35 +02:00
rmrf.py util/rmrf: use immutable helpers 2020-04-21 14:46:02 +02:00
selinux.py util/selinux: add gefilecon helper 2020-06-15 20:36:48 +02:00
types.py util: add types module defining PathLike type 2020-07-27 12:50:38 +01:00