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