Facility to track file state.
This is used to watch for size or modification time changes, or to notice when a file path no longer points at the same file.
Function FileState(path, do_lstat=False, missing_ok=False)
Return a signature object for a file state derived from os.stat
(or os.lstat if do_lstat is true).
path may also be an int, in which case os.fstat is used.
This returns an object with mtime, size, dev and ino attributes
and can be compared for equality with other signatures.
missing_ok: return None if the target file is missing,
otherwise raise. Default False.
Release files for cs.filestate 20181107
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cs.filestate-20181107.tar.gz | 2.0 kB | Details |
Release files / cs.filestate-20181107.tar.gz
| Download URL | cs.filestate-20181107.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f63b491ccb856f2b5b9c246e4667e7b222b742ad9be08493de406ee31d642b80
|
|
BLAKE2b-256 checksum How to use checksums |
feac51d0400b7dbd3f70393885e5926798dd4b7331cf0cf18290a13a16372359
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6
|