-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new API follows the pattern of the other file API: InodeEmbedder can implement a OpendirHandle method, which returns a FileHandle. Directories can implement the following APIs, * FileSyncdirer * FileReaddirenter * FileReleasedirer * FileSeekdirer along with the opened directory, FOPEN_* flags may be returned. In a follow-up change, we'll demonstrate how to use FOPEN_CACHE_DIR for directory caching. This change is backward compatible in a compilation sense, but support for seeking in DirStreams has been removed: it was incorrect (it made the assumption that the dir offset was monotonically increasing), inefficient and complicated. Change-Id: I662713321f0f812e92e4059ee11e8b1427c6aa0f
- Loading branch information
Showing
6 changed files
with
366 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.