Skip to main content

Module tempfile

Module tempfile 

Source
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. mkdir is a parameter so tests can model the host filesystem, same as the Go version’s injected mkdir func(string, os.FileMode) error.
ensure_temp_dir_exists
Ported from EnsureTempDirExists.