lib/fig/repository.rb in fig-1.16.0 vs lib/fig/repository.rb in fig-1.16.1.beta.1

- old
+ new

@@ -478,9 +478,13 @@ return File.join( package_runtime_directory, descriptor.name, descriptor.version ) end + # Note that we use a temporary directory within the repository so that we + # don't need to worry about crossing file-system boundaries. If we stored + # things in /tmp, we couldn't do true file moves, just copies and deletes, + # and there would be race conditions and other not-fun things to worry about. def base_temp_dir() File.join(@local_repository_directory, 'tmp') end def package_download_temp_dir(descriptor)