Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOptions ¶
type Entry ¶ added in v0.9.1
func Create ¶
func Create(options *CreateOptions) (*Entry, error)
Create creates a filesystem entry according to the provided options and returns the information about the created entry.
func CreateWriter ¶ added in v1.0.0
func CreateWriter(options *CreateOptions) (io.WriteCloser, *Entry, error)
CreateWriter handles the creation of a regular file and collects the information recorded in Entry. The Hash and Size attributes are set on calling Close() on the Writer.
Click to show internal directories.
Click to hide internal directories.