You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/api/vinyl.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ When any passed options don't conform to the [instance property definitions][ins
72
72
| path | string || The full, absolute file path. Will be [normalized][normalization-and-concatenation-section] and have trailing separators removed. |
73
73
| history | array |`[ ]`| An array of paths to pre-populate the `history` of a Vinyl instance. Usually comes from deriving a new Vinyl object from a previous Vinyl object. If `path` and `history` are both passed, `path` is appended to `history`. Each item will be [normalized][normalization-and-concatenation-section] and have trailing separators removed. |
74
74
| stat | object || An instance of `fs.Stats`, usually the result of calling `fs.stat()` on a file. Used to determine if a Vinyl object represents a directory or symbolic link. |
75
-
| contents | ReadableStream <br> Buffer <br> null | null | The contents of the file. If `contents` is a ReadableStream, it is wrapped in a [cloneable-readable][cloneable-readable-external] stream. |
75
+
| contents | ReadableStream <br> Buffer <br> `null`|`null`| The contents of the file. If `contents` is a ReadableStream, it is wrapped in a [cloneable-readable][cloneable-readable-external] stream. |
76
76
77
77
Any other properties on `options` will be directly assigned to the Vinyl instance.
0 commit comments