mirror of
https://github.com/kopia/kopia.git
synced 2026-02-23 01:54:33 -05:00
* use `os.CreateTemp` in `tempfile.CreateAutoDelete` * refactor `TestTempFile`: add `VerifyTempfile` test helper * add test for `createUnixFallback` * rename function to `tempfile.CreateAutoDelete` * remove the `dir` parameter to `tempfile.CreateAutoDelete`, only an empty string was passed, apart from test cases. * guard against panic in TestShadowCopy
4 lines
171 B
Go
4 lines
171 B
Go
// Package tempfile provides a cross-platform abstraction for creating private
|
|
// read-write temporary files which are automatically deleted when closed.
|
|
package tempfile
|