Welcome to ftp.nluug.nl Current directory: /ftp/os/Linux/distr/salix/x86_64/extra-15.0/source/python/atomicwrites/ |
|
Contents of README:It uses a temporary file in the same directory as the given path. This ensures that the temporary file resides on the same filesystem. The temporary file will then be atomically moved to the target location: On POSIX, it will use rename if files should be overwritten, otherwise a combination of link and unlink. On Windows, it uses MoveFileEx through stdlib's ctypes with the appropriate flags. Note that with link and unlink, there's a timewindow where the file might be available under two entries in the filesystem: The name of the temporary file, and the name of the target file. Also note that the permissions of the target file may change this way. In some situations a chmod can be issued without any concurrency problems, but since that is not always the case, this library doesn't do it by itself. |
Name Last modified Size
Parent Directory - README 27-May-2022 19:04 811 atomicwrites-1.3.0.tar.gz 17-May-2022 01:08 11K atomicwrites.SlackBuild 11-Mar-2022 06:34 3.1K atomicwrites.info 27-May-2022 19:04 396 slack-desc 27-May-2022 19:04 895
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!