Documentation ¶ Index ¶ func Create(o *CreateOptions) error func SetDebug(debug bool) func SetLogger(logger log_Logger) type CreateOptions Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Create ¶ func Create(o *CreateOptions) error Creates a filesystem entry according to the provided options. func SetDebug ¶ func SetDebug(debug bool) Enable the delivery of debug messages to the logger. Only meaningful if a logger is also set. func SetLogger ¶ func SetLogger(logger log_Logger) Specify the *log.Logger object where log messages should be sent to. Types ¶ type CreateOptions ¶ type CreateOptions struct { Path string Mode fs.FileMode Data io.Reader Link string // If MakeParents is true, missing parent directories of Path are // created with permissions 0755. MakeParents bool } Source Files ¶ View all Source files create.go log.go Click to show internal directories. Click to hide internal directories.