@@ -621,7 +621,7 @@ changes:
621
621
description: The `file` parameter can be a file descriptor now.
622
622
-->
623
623
624
- * ` file ` {string|Buffer|number} filename or file descriptor
624
+ * ` file ` {string|Buffer|URL| number} filename or file descriptor
625
625
* ` data ` {string|Buffer}
626
626
* ` options ` {Object|string}
627
627
* ` encoding ` {string|null} ** Default:** ` 'utf8' `
@@ -676,7 +676,7 @@ changes:
676
676
description: The `file` parameter can be a file descriptor now.
677
677
-->
678
678
679
- * ` file ` {string|Buffer|number} filename or file descriptor
679
+ * ` file ` {string|Buffer|URL| number} filename or file descriptor
680
680
* ` data ` {string|Buffer}
681
681
* ` options ` {Object|string}
682
682
* ` encoding ` {string|null} ** Default:** ` 'utf8' `
@@ -1487,7 +1487,7 @@ changes:
1487
1487
it will emit a deprecation warning.
1488
1488
-->
1489
1489
1490
- * ` path ` {string|Buffer}
1490
+ * ` path ` {string|Buffer|URL }
1491
1491
* ` mode ` {integer}
1492
1492
* ` callback ` {Function}
1493
1493
* ` err ` {Error}
@@ -1502,7 +1502,7 @@ Only available on macOS.
1502
1502
deprecated: v0.4.7
1503
1503
-->
1504
1504
1505
- * ` path ` {string|Buffer}
1505
+ * ` path ` {string|Buffer|URL }
1506
1506
* ` mode ` {integer}
1507
1507
1508
1508
Synchronous lchmod(2). Returns ` undefined ` .
@@ -1517,7 +1517,7 @@ changes:
1517
1517
it will emit a deprecation warning.
1518
1518
-->
1519
1519
1520
- * ` path ` {string|Buffer}
1520
+ * ` path ` {string|Buffer|URL }
1521
1521
* ` uid ` {integer}
1522
1522
* ` gid ` {integer}
1523
1523
* ` callback ` {Function}
@@ -1531,7 +1531,7 @@ to the completion callback.
1531
1531
deprecated: v0.4.7
1532
1532
-->
1533
1533
1534
- * ` path ` {string|Buffer}
1534
+ * ` path ` {string|Buffer|URL }
1535
1535
* ` uid ` {integer}
1536
1536
* ` gid ` {integer}
1537
1537
@@ -2396,7 +2396,7 @@ changes:
2396
2396
it will emit a deprecation warning.
2397
2397
-->
2398
2398
2399
- * ` path ` {string|Buffer}
2399
+ * ` path ` {string|Buffer|URL }
2400
2400
* ` len ` {integer} ** Default:** ` 0 `
2401
2401
* ` callback ` {Function}
2402
2402
* ` err ` {Error}
@@ -2410,7 +2410,7 @@ first argument. In this case, `fs.ftruncate()` is called.
2410
2410
added: v0.8.6
2411
2411
-->
2412
2412
2413
- * ` path ` {string|Buffer}
2413
+ * ` path ` {string|Buffer|URL }
2414
2414
* ` len ` {integer} ** Default:** ` 0 `
2415
2415
2416
2416
Synchronous truncate(2). Returns ` undefined ` . A file descriptor can also be
@@ -2456,7 +2456,7 @@ Synchronous unlink(2). Returns `undefined`.
2456
2456
added: v0.1.31
2457
2457
-->
2458
2458
2459
- * ` filename ` {string|Buffer}
2459
+ * ` filename ` {string|Buffer|URL }
2460
2460
* ` listener ` {Function} Optional, a listener previously attached using
2461
2461
` fs.watchFile() `
2462
2462
@@ -2816,7 +2816,7 @@ changes:
2816
2816
description: The `file` parameter can be a file descriptor now.
2817
2817
-->
2818
2818
2819
- * ` file ` {string|Buffer|integer} filename or file descriptor
2819
+ * ` file ` {string|Buffer|URL| integer} filename or file descriptor
2820
2820
* ` data ` {string|Buffer|Uint8Array}
2821
2821
* ` options ` {Object|string}
2822
2822
* ` encoding ` {string|null} ** Default:** ` 'utf8' `
@@ -2867,7 +2867,7 @@ changes:
2867
2867
description: The `file` parameter can be a file descriptor now.
2868
2868
-->
2869
2869
2870
- * ` file ` {string|Buffer|integer} filename or file descriptor
2870
+ * ` file ` {string|Buffer|URL| integer} filename or file descriptor
2871
2871
* ` data ` {string|Buffer|Uint8Array}
2872
2872
* ` options ` {Object|string}
2873
2873
* ` encoding ` {string|null} ** Default:** ` 'utf8' `
0 commit comments