Test File.stat() on a directory.

This commit is contained in:
Bob Nystrom
2016-01-01 10:05:31 -08:00
parent 5cd8a06fa0
commit 94208647ab
2 changed files with 23 additions and 0 deletions
+7
View File
@@ -35,6 +35,13 @@ whatever encoding the file uses.
Returns the size in bytes of the contents of the file at `path`.
### File.**stat**(path)
"Stats" the file or directory at `path`. Returns a [Stat][] object describing
the low-level details of the file system entry.
[stat]: stat.html
## Constructors
### File.**open**(path)