2018-01-12 16:30:54 +00:00
|
|
|
// Package mockdir makes a mock fs.Directory object
|
|
|
|
package mockdir
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
2019-07-28 17:47:38 +00:00
|
|
|
"github.com/rclone/rclone/fs"
|
2018-01-12 16:30:54 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// New makes a mock directory object with the name given
|
|
|
|
func New(name string) fs.Directory {
|
|
|
|
return fs.NewDir(name, time.Time{})
|
|
|
|
}
|