add File#paths, an array of historical paths
This commit is contained in:
parent
8c49863f40
commit
e31dc43666
2 changed files with 17 additions and 1 deletions
4
API.md
4
API.md
|
@ -18,6 +18,10 @@ A new `File` instance to serve as the representation of a physical file, a gener
|
|||
|
||||
The file's path can be retrieved or updated by getting and setting `path`.
|
||||
|
||||
### `paths`
|
||||
|
||||
An array of all `path`s this file has had, in chronological order. Setting `path` automatically updates this.
|
||||
|
||||
### `ext`
|
||||
|
||||
The file's extension (including the preceding `.`) can be retrieved or updated by getting and setting `path`. The `ext` and `path` properties are kept in sync.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue