Files
cloudly-min/.rclone_repo/fstest/mockdir/dir.go
2020-01-13 03:37:51 +00:00

14 lines
251 B
Go
Executable File

// 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{})
}