1
0
mirror of https://github.com/rclone/rclone.git synced 2025-03-28 12:42:08 +02:00

14 lines
251 B
Go
Raw Normal View History

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