1
0
mirror of https://github.com/git/git.git synced 2024-10-03 17:32:35 +02:00
git/perl
Marcus Griep e41352b24e Git.pm: Add faculties to allow temp files to be cached
This patch offers a generic interface to allow temp files to be
cached while using an instance of the 'Git' package. If many
temp files are created and destroyed during the execution of a
program, this caching mechanism can help reduce the amount of
files created and destroyed by the filesystem.

The temp_acquire method provides a weak guarantee that a temp
file will not be stolen by subsequent requests. If a file is
locked when another acquire request is made, a simple error is
thrown.

Signed-off-by: Marcus Griep <marcus@griep.us>
Acked-by: Eric Wong <normalperson@yhbt.net>
2008-08-12 20:46:54 -07:00
..
.gitignore
Git.pm Git.pm: Add faculties to allow temp files to be cached 2008-08-12 20:46:54 -07:00
Makefile perl/Makefile: handle paths with spaces in the NO_PERL_MAKEMAKER section 2008-08-06 14:00:36 -07:00
Makefile.PL
private-Error.pm