Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MinimumFilePerm is the minimum allowed permission bits that skeleton will // create during install. MinimumFilePerm os.FileMode = 0440 // MinimumDirPerm is the minimum allowed permission bits that skeleton will // create during install. MinimumDirPerm os.FileMode = 0700 )
Variables ¶
This section is empty.
Functions ¶
func SkeletonFS ¶
SkeletonFS is used to create new copies of the fsys in test case directories.
Skeleton installation has no support for nodes other than directories and regular files.
Types ¶
type SkeletonInstallError ¶
type SkeletonInstallError struct { Path string Err error // contains filtered or unexported fields }
SkeletonInstallError is returned when the skeleton cannot install the file for some path.
func (SkeletonInstallError) Error ¶
func (skel SkeletonInstallError) Error() string
Error implements error.
func (SkeletonInstallError) Unwrap ¶
func (skel SkeletonInstallError) Unwrap() error
Unwrap returns the wrapped error.
Click to show internal directories.
Click to hide internal directories.