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