mirror of
https://github.com/rclone/rclone.git
synced 2025-12-24 04:04:37 +00:00
Create fs.Directory interface and use it everywhere
This commit is contained in:
@@ -45,10 +45,7 @@ type FS struct {
|
||||
|
||||
// NewFS creates a new filing system and root directory
|
||||
func NewFS(f fs.Fs) *FS {
|
||||
fsDir := &fs.Dir{
|
||||
Name: "",
|
||||
When: time.Now(),
|
||||
}
|
||||
fsDir := fs.NewDir("", time.Now())
|
||||
fsys := &FS{
|
||||
f: f,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user