Expand description
Temporary files that delete themselves on close.
Ported from internal/tempfile/tempfile.go. Not yet implemented.
Structs§
- Tempfile
- Ported from
Tempfile.
Functions§
- ensure_
dir_ exists - Ported from
ensureDirExists.mkdiris a parameter so tests can model the host filesystem, same as the Go version’s injectedmkdir func(string, os.FileMode) error. - ensure_
temp_ dir_ exists - Ported from
EnsureTempDirExists.