Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo interface { Name() string // base name of the file Size() int64 // length in bytes for regular files; system-dependent for others Mode() fs.FileMode // file mode bits ModTime() time.Time // modification time IsDir() bool // abbreviation for Mode().IsDir() Sys() any // underlying data source (can return nil) }
A FileInfo describes a file and is returned by Stat.
type ProgressBar ¶
type Shredder ¶
type Shredder struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts *ShredderOptions) *Shredder
type ShredderOptions ¶
type ShredderOptions struct { Zero bool Iterations int Bar ProgressBar }
Click to show internal directories.
Click to hide internal directories.