mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
fs: add optional ID to fs.Directory and set it in the remotes which care
This commit is contained in:
4
fs/fs.go
4
fs/fs.go
@@ -219,6 +219,10 @@ type Directory interface {
|
||||
// Items returns the count of items in this directory or this
|
||||
// directory and subdirectories if known, -1 for unknown
|
||||
Items() int64
|
||||
|
||||
// ID returns the internal ID of this directory if known, or
|
||||
// "" otherwise
|
||||
ID() string
|
||||
}
|
||||
|
||||
// MimeTyper is an optional interface for Object
|
||||
|
||||
Reference in New Issue
Block a user