This repository was archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathStats.cs
More file actions
33 lines (31 loc) · 1.37 KB
/
Stats.cs
File metadata and controls
33 lines (31 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NodeJS.FSModule {
[Imported]
[ModuleName("fs")]
[IgnoreNamespace]
public class Stats {
private Stats() {}
public bool IsFile() { return false; }
public bool IsDirectory() { return false; }
public bool IsBlockDevice() { return false; }
public bool IsCharacterDevice() { return false; }
public bool IsSymbolicLink() { return false; }
public bool IsFIFO() { return false; }
public bool IsSocket() { return false; }
[IntrinsicProperty] public int Dev { get; private set; }
[IntrinsicProperty] public int Ino { get; private set; }
[IntrinsicProperty] public int Mode { get; private set; }
[IntrinsicProperty] public int Nlink { get; private set; }
[IntrinsicProperty] public int Uid { get; private set; }
[IntrinsicProperty] public int Gid { get; private set; }
[IntrinsicProperty] public int Rdev { get; private set; }
[IntrinsicProperty] public int Size { get; private set; }
[IntrinsicProperty] public int Blksize { get; private set; }
[IntrinsicProperty] public int Blocks { get; private set; }
[IntrinsicProperty, ScriptName("atime")] public DateTime ATime { get; private set; }
[IntrinsicProperty, ScriptName("mtime")] public DateTime MTime { get; private set; }
[IntrinsicProperty, ScriptName("ctime")] public DateTime CTime { get; private set; }
}
}