Skip to content

Commit 0e12a19

Browse files
jmmphated
authored andcommitted
Docs: Document history
1 parent 9166da2 commit 0e12a19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ var file = new File({
122122
console.log(file.relative); // file.coffee
123123
```
124124

125+
### history
126+
127+
Array of `path` values the file object has had, from `history[0]` (original) through `history[history.length - 1]` (current). `history` and its elements should normally be treated as read-only and only altered indirectly by setting `path`.
128+
125129
[npm-url]: https://npmjs.org/package/vinyl
126130
[npm-image]: https://badge.fury.io/js/vinyl.png
127131
[travis-url]: https://travis-ci.org/wearefractal/vinyl

0 commit comments

Comments
 (0)