Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFileNotExist = errors.New("file does not exist") ErrDirNotSupported = errors.New("directories are not supported") ErrPermission = errors.New("permission denied") ErrWipeFailed = errors.New("failed to wipe data") ErrRemoveFailed = errors.New("failed to remove file") ErrNotWritable = errors.New("file is not writable") )
Functions ¶
Types ¶
type FileInfo ¶
type FileInfo struct {
Level SecurityLevel
IsSSD bool
IsCoW bool
FileSystem string
Warning string
}
type SecurityLevel ¶
type SecurityLevel int
const ( LevelHigh SecurityLevel = iota LevelMedium LevelLow )
Click to show internal directories.
Click to hide internal directories.