You need to sign in or sign up before continuing.
Commits on Source (4)
-
Allow callers to decide where the temporary file will be created.
-
Use the designated tempdir when creating refs, we expect that temporary files are not created in the storage directory ever, they should be only ever created in the designated temporary directory. This fixes race conditions where utils._get_dir_size() throws an unhandled exception when attempting to stat the file which inadvertantly disappears.
-
This function assumes that files do not disappear while walking the given directory.
-
Tristan Van Berkom authored
fix cache size race See merge request !854