0009768c7f
In this case, "atomic" means that there will be no situation where the file contains only part of the newContent data, and therefore other software monitoring the file for changes (using a mechanism like inotify) won't encounter a truncated file. It does _not_ mean that there can't be existing filehandles open against the old version of the file. On Windows systems the write will fail in that case, but on Unix systems the write will typically succeed but leave the existing filehandles still pointing at the old version of the file. They'll need to reopen the file in order to see the new content. |
||
---|---|---|
.. | ||
copy | ||
depsfile | ||
didyoumean | ||
earlyconfig | ||
getproviders | ||
initwd | ||
modsdir | ||
providercache | ||
replacefile | ||
tfplugin5 | ||
typeexpr |