@@ -421,43 +421,64 @@ Stats {
421
421
```
422
422
423
423
### stats.isBlockDevice()
424
+ <!-- YAML
425
+ added: v0.1.10
426
+ -->
424
427
425
428
* Returns: {boolean}
426
429
427
430
Returns ` true ` if the ` fs.Stats ` object describes a block device.
428
431
429
432
### stats.isCharacterDevice()
433
+ <!-- YAML
434
+ added: v0.1.10
435
+ -->
430
436
431
437
* Returns: {boolean}
432
438
433
439
Returns ` true ` if the ` fs.Stats ` object describes a character device.
434
440
435
441
### stats.isDirectory()
442
+ <!-- YAML
443
+ added: v0.1.10
444
+ -->
436
445
437
446
* Returns: {boolean}
438
447
439
448
Returns ` true ` if the ` fs.Stats ` object describes a file system directory.
440
449
441
450
### stats.isFIFO()
451
+ <!-- YAML
452
+ added: v0.1.10
453
+ -->
442
454
443
455
* Returns: {boolean}
444
456
445
457
Returns ` true ` if the ` fs.Stats ` object describes a first-in-first-out (FIFO)
446
458
pipe.
447
459
448
460
### stats.isFile()
461
+ <!-- YAML
462
+ added: v0.1.10
463
+ -->
449
464
450
465
* Returns: {boolean}
451
466
452
467
Returns ` true ` if the ` fs.Stats ` object describes a regular file.
453
468
454
469
### stats.isSocket()
470
+ <!-- YAML
471
+ added: v0.1.10
472
+ -->
455
473
456
474
* Returns: {boolean}
457
475
458
476
Returns ` true ` if the ` fs.Stats ` object describes a socket.
459
477
460
478
### stats.isSymbolicLink()
479
+ <!-- YAML
480
+ added: v0.1.10
481
+ -->
461
482
462
483
* Returns: {boolean}
463
484
@@ -520,52 +541,76 @@ The file system block size for i/o operations.
520
541
The number of blocks allocated for this file.
521
542
522
543
### stats.atimeMs
544
+ <!-- YAML
545
+ added: v8.1.0
546
+ -->
523
547
524
548
* Value: {number}
525
549
526
550
The timestamp indicating the last time this file was accessed expressed in
527
551
milliseconds since the POSIX Epoch.
528
552
529
553
### stats.mtimeMs
554
+ <!-- YAML
555
+ added: v8.1.0
556
+ -->
530
557
531
558
* Value: {number}
532
559
533
560
The timestamp indicating the last time this file was modified expressed in
534
561
milliseconds since the POSIX Epoch.
535
562
536
563
### stats.ctimeMs
564
+ <!-- YAML
565
+ added: v8.1.0
566
+ -->
537
567
538
568
* Value: {number}
539
569
540
570
The timestamp indicating the last time the file status was changed expressed
541
571
in milliseconds since the POSIX Epoch.
542
572
543
573
### stats.birthtimeMs
574
+ <!-- YAML
575
+ added: v8.1.0
576
+ -->
544
577
545
578
* Value: {number}
546
579
547
580
The timestamp indicating the creation time of this file expressed in
548
581
milliseconds since the POSIX Epoch.
549
582
550
583
### stats.atime
584
+ <!-- YAML
585
+ added: v0.11.13
586
+ -->
551
587
552
588
* Value: {Date}
553
589
554
590
The timestamp indicating the last time this file was accessed.
555
591
556
592
### stats.mtime
593
+ <!-- YAML
594
+ added: v0.11.13
595
+ -->
557
596
558
597
* Value: {Date}
559
598
560
599
The timestamp indicating the last time this file was modified.
561
600
562
601
### stats.ctime
602
+ <!-- YAML
603
+ added: v0.11.13
604
+ -->
563
605
564
606
* Value: {Date}
565
607
566
608
The timestamp indicating the last time the file status was changed.
567
609
568
610
### stats.birthtime
611
+ <!-- YAML
612
+ added: v0.11.13
613
+ -->
569
614
570
615
* Value: {Date}
571
616
0 commit comments