diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-08-10 11:47:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-10 12:57:14 -0700 |
commit | 354ab1120665f691c17b21fdb04c4362c8088dfa (patch) | |
tree | 834868915e64ab1df72cee35700aed5dcf079fef /gitk-git | |
parent | 7eba6ce5c79447579689218d8dab59a8434fd7c7 (diff) | |
download | git-354ab1120665f691c17b21fdb04c4362c8088dfa.tar.gz git-354ab1120665f691c17b21fdb04c4362c8088dfa.tar.xz |
tempfile: add several functions for creating temporary files
Add several functions for creating temporary files with
automatically-generated names, analogous to mkstemps(), but also
arranging for the files to be deleted on program exit.
The functions are named according to a pattern depending how they
operate. They will be used to replace many places in the code where
temporary files are created and cleaned up ad-hoc.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitk-git')
0 files changed, 0 insertions, 0 deletions