overdue
This commit is contained in:
13
.rclone_repo/fstest/mockdir/dir.go
Executable file
13
.rclone_repo/fstest/mockdir/dir.go
Executable file
@@ -0,0 +1,13 @@
|
||||
// Package mockdir makes a mock fs.Directory object
|
||||
package mockdir
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/ncw/rclone/fs"
|
||||
)
|
||||
|
||||
// New makes a mock directory object with the name given
|
||||
func New(name string) fs.Directory {
|
||||
return fs.NewDir(name, time.Time{})
|
||||
}
|
||||
Reference in New Issue
Block a user