28 Commits

Author SHA1 Message Date
Unrud
4d4c3bda75 Fix F_FULLFSYNC on PyPy + Fallback if unsupported 2022-02-03 14:36:53 +01:00
Unrud
7e29d9b5c3 Revert "Assume F_FULLFSYNC on darwin" 2022-02-01 20:24:22 +01:00
Unrud
cd5bc3590f Assume F_FULLFSYNC on darwin 2022-02-01 19:14:40 +01:00
Unrud
0221fc357b Use sys.platform instead of os.name
mypy only recognizes sys.platform
2022-02-01 17:56:02 +01:00
Unrud
523960bc9f Fix Mypy error 2022-02-01 16:19:51 +01:00
Unrud
45ff34f6c3 Fallback if RENAME_EXCHANGE not supported by fs
Fixes #1213
2022-02-01 11:28:40 +01:00
Unrud
7bfb6c0132 Fix dlopen on Android 2021-12-25 19:58:29 +01:00
Unrud
bbaf0ebd8c Change name in file header 2021-12-09 16:55:46 +01:00
Unrud
cecb17df03 More type hints 2021-09-26 22:24:45 +02:00
Unrud
73e42f8101 Enable static type checking 2021-09-26 22:24:45 +02:00
Unrud
2aafcd5df5 Use renameat2 on Linux for atomic exchanging of files 2020-10-23 21:37:45 +02:00
Unrud
f05251bd01 Improve error messages for locking problems on Windows 2020-10-23 21:20:16 +02:00
Unrud
88a0af8ba1 Improve documentation 2020-01-12 23:32:28 +01:00
Unrud
63e6d091b9 Update copyright 2019-06-17 04:13:24 +02:00
Unrud
14b46c04bf Create configuration for isort 2019-06-15 09:01:55 +02:00
Unrud
9c802e0f57 skip ambiguous isort modules 2018-09-05 11:37:18 +02:00
Unrud
35484c9b79 Refactor multifilesystem 2018-09-04 03:33:50 +02:00
Unrud
5e0a387ed9 remove whitespace before email 2018-09-04 03:33:47 +02:00
Unrud
5429f5c1a9 assert sanitized and stripped paths 2018-08-28 16:19:50 +02:00
Unrud
8869b34470 refactor 2018-08-28 16:19:43 +02:00
Guillaume Ayoub
b495bfa59f Remove pathutils 2016-04-09 22:45:14 +02:00
Guillaume Ayoub
12ddd64884 Fix the management of paths 2016-04-09 22:44:34 +02:00
Guillaume Ayoub
1001bcb676 Remove extra auth, rights and storage modules 2016-04-07 19:02:52 +02:00
Guillaume Ayoub
434cb533e9 Remove Python 2 support 2016-03-31 19:57:40 +02:00
Guillaume Ayoub
e7ce00d54f Style 2015-12-31 12:49:41 +01:00
Unrud
eed37792ae Convert filesystem paths safely to paths
This only becomes a problem if the OS/filesystem
allows / in filenames or . respectively
.. as filenames.
2015-12-24 14:39:29 +01:00
Unrud
b4b3d51f33 Convert paths safely to file system paths
With the old implementation on Windows a path like
"/c:/file/ignore" got converted to "c:\file" and
allowed access to files outside of FOLDER
2015-12-24 14:39:29 +01:00
Unrud
1ad994cadf Move sanitize_path into pathutils.py 2015-12-24 14:39:15 +01:00