replace_file(), rename_file(), and remove_file() now have optional 'logger' and 'log_level' (defaulting to DEBUG) arguments. replace_file() now has a required 'permissions' and an optional 'close_on_success' (defaulting to True) argument. Also, it doesn't create any directories; and in case of an exception, the tempfile is removed even when closing it raises another exception. remove_file() now returns a value: True if the file was removed, or False if it already didn't exist. (fsync_path() is unchanged.) !!! After cherry-picking for release4.0, consider a fixup !!! !!! adding 'import qubes.utils' to storage/reflink there !!! |
||
|---|---|---|
| ci | ||
| contrib | ||
| doc | ||
| etc | ||
| linux | ||
| qubes | ||
| qubes-rpc | ||
| qubes-rpc-policy | ||
| qvm-tools | ||
| relaxng | ||
| rpm_spec | ||
| templates | ||
| test-packages | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .pylintrc | ||
| .travis.yml | ||
| installer.wxs | ||
| LICENSE | ||
| Makefile | ||
| Makefile.builder | ||
| README.md | ||
| run-tests | ||
| setup.cfg | ||
| setup.py | ||
| version | ||
Qubes core, version 3
This is master branch of the Qubes OS core.
API documentation is available: https://dev.qubes-os.org/projects/core-admin/en/latest/.