Entry represents a filesystem entry, which can be Directory, File, or Symlink.
| 17 | |
| 18 | // Entry represents a filesystem entry, which can be Directory, File, or Symlink. |
| 19 | type Entry interface { |
| 20 | os.FileInfo |
| 21 | Owner() OwnerInfo |
| 22 | Device() DeviceInfo |
| 23 | LocalFilesystemPath() string // returns full local filesystem path or "" if not a local filesystem |
| 24 | Close() // closes or recycles any resources associated with the entry, must be idempotent |
| 25 | } |
| 26 | |
| 27 | // OwnerInfo describes owner of a filesystem entry. |
| 28 | type OwnerInfo struct { |
no outgoing calls
no test coverage detected