184
edits
(→Browsing contents: -forEachFile, -iteration, +contents) |
|||
Line 190: | Line 190: | ||
== Interfaces == | == Interfaces == | ||
=== File Information === | |||
/** | /** | ||
* The kind of information that can be found by calling [RawFile.info] or [RawDir. | * The kind of information that can be found by calling [RawFile.info] or [RawDir.contents]. | ||
* | * | ||
* Note that some or all fields may be computed lazily. | * Note that some or all fields may be computed lazily. | ||
Line 225: | Line 226: | ||
} | } | ||
}, | }, | ||
=== Directory entries === | |||
DirEntry: { | |||
/** | |||
* The name of the file. | |||
* | |||
* Note that there is no guarantee that the file still exists by the time you attempt to open it. | |||
* | |||
* @return {string=} | |||
*/ | |||
get name(): { ... | |||
}, | |||
/** | |||
* All the information that could be gathered about the file without opening it. | |||
* | |||
* @return {FileInfo} | |||
*/ | |||
get info(): { ... | |||
//Precomputed by [RawDir.contents] | |||
} | |||
}, | |||
=== Errors === | |||
/** | /** | ||
* An exception launched by this module. | * An exception launched by this module. |
edits