Readdir reads the contents of the directory associated with dr and returns an array of up to n DirectoryEntries structures. Subsequent calls on the same file will yield further DirectoryEntries. If n > 0, Readdir returns at most n DirectoryEntry structures. In this case, if Readdir returns an empty
(ctx context.Context, n int)
| 105 | // end of the directory, Readdir returns the DirectoryEntry read |
| 106 | // until that point and a non-nil error. |
| 107 | Readdir(ctx context.Context, n int) ([]DirectoryEntry, error) |
| 108 | } |
| 109 | |
| 110 | type Symlink interface { |
no outgoing calls