trash files instead of containing dir
oops
This commit is contained in:
parent
3e3b97b2c1
commit
2e82cd2388
2 changed files with 3 additions and 2 deletions
|
@ -26,6 +26,7 @@ type Files []File
|
|||
|
||||
func (f File) Name() string { return f.name }
|
||||
func (f File) Path() string { return f.path }
|
||||
func (f File) Filename() string { return filepath.Join(f.path, f.name) }
|
||||
func (f File) Modified() time.Time { return f.modified }
|
||||
func (f File) Filesize() int64 { return f.filesize }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue