Documentation
¶
Overview ¶
Package lxtempdir provides safe temporary directories for Linux.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TempDir ¶
type TempDir struct {
// The path to the temporary directory.
Path string
// contains filtered or unexported fields
}
TempDir represents a temporary directory that you have access to. systemd-tmpfiles will *not* clean up the directory until the program dies or Close is called.
func Create ¶
Create creates a new temporary directory. The arguments have identical meaning to ioutil.TempDir.
Click to show internal directories.
Click to hide internal directories.