Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
type D struct {
// contains filtered or unexported fields
}
D manages a staging directory.
While D is active, it resides in a temporary location. Once finished, D can either be committed or destroyed.A On comit, it is atomically moved into its destination; on destroy, it is deleted along with all of its contents.
func New ¶
New creates a new staging directory underneath of tempDir.
The directory will be created with the specified prefix.
Click to show internal directories.
Click to hide internal directories.