Move File.stat() -> Stat.path().
Thanks, Michel!
This commit is contained in:
@@ -35,13 +35,6 @@ 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)
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
^title Stat Class
|
||||
|
||||
Contains the data returned by [File.stat()][stat].
|
||||
A data structure describing the low-level details of a file system entry.
|
||||
|
||||
[stat]: file.html#file.stat(path)
|
||||
## Static Methods
|
||||
|
||||
### Stat.**path**(path)
|
||||
|
||||
"Stats" the file or directory at `path`.
|
||||
|
||||
## Methods
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
<ul>
|
||||
<li><a href="directory.html">Directory</a></li>
|
||||
<li><a href="file.html">File</a></li>
|
||||
<li><a href="stat.html">Stat</a></li>
|
||||
<li><a href="stdin.html">Stdin</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -45,11 +46,13 @@
|
||||
<tr>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="directory.html">Directory</a></li>
|
||||
<li><a href="file.html">File</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="stat.html">Stat</a></li>
|
||||
<li><a href="stdin.html">Stdin</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user