Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Import ¶
Import imports all files and directories from srcfs to targetfs and stops and returns on the first error. On default it stops on the first error and returns it. however by passing OptionContinueOnError, the import continues and the collected errors are returned. On default it does return an error if a target file already exists, however by passing the option OptionOverwrite this is prevented
Types ¶
type Option ¶
type Option func(*importer)
func OptionContinueOnError ¶
func OptionContinueOnError() Option
func OptionOverwrite ¶
func OptionOverwrite() Option
Click to show internal directories.
Click to hide internal directories.