lories.core.configs.directories#
Classes#
PurePath subclass that can make system calls. |
|
PurePath subclass that can make system calls. |
|
PurePath subclass that can make system calls. |
Module Contents#
- class lories.core.configs.directories.Directory(*dirs: str, base: str | Directory | None = None, default: str | None = None)[source]#
Bases:
pathlib.Path
PurePath subclass that can make system calls.
Path represents a filesystem path but unlike PurePath, also offers methods to do system calls on path objects. Depending on your system, instantiating a Path will return either a PosixPath or a WindowsPath object. You can also instantiate a PosixPath or WindowsPath directly, but cannot instantiate a WindowsPath on a POSIX system or vice versa.
Construct a PurePath from one or several strings and or existing PurePath objects. The strings and path objects are combined so as to yield a canonicalized path, which is incorporated into the new PurePath object.
- class lories.core.configs.directories.PosixDirectory(*dirs: str, base: str | Directory | None = None, default: str | None = None)[source]#
Bases:
Directory,pathlib.PosixPath
PurePath subclass that can make system calls.
Path represents a filesystem path but unlike PurePath, also offers methods to do system calls on path objects. Depending on your system, instantiating a Path will return either a PosixPath or a WindowsPath object. You can also instantiate a PosixPath or WindowsPath directly, but cannot instantiate a WindowsPath on a POSIX system or vice versa.
Construct a PurePath from one or several strings and or existing PurePath objects. The strings and path objects are combined so as to yield a canonicalized path, which is incorporated into the new PurePath object.
- class lories.core.configs.directories.WindowsDirectory(*dirs: str, base: str | Directory | None = None, default: str | None = None)[source]#
Bases:
Directory,pathlib.WindowsPath
PurePath subclass that can make system calls.
Path represents a filesystem path but unlike PurePath, also offers methods to do system calls on path objects. Depending on your system, instantiating a Path will return either a PosixPath or a WindowsPath object. You can also instantiate a PosixPath or WindowsPath directly, but cannot instantiate a WindowsPath on a POSIX system or vice versa.
Construct a PurePath from one or several strings and or existing PurePath objects. The strings and path objects are combined so as to yield a canonicalized path, which is incorporated into the new PurePath object.