-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathBaseFileAndDirectoryEntries.res
More file actions
72 lines (69 loc) · 2.09 KB
/
Copy pathBaseFileAndDirectoryEntries.res
File metadata and controls
72 lines (69 loc) · 2.09 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@@warning("-30")
/**
[See FileSystemEntry on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry)
*/
@editor.completeFrom(BaseFileAndDirectoryEntries.FileSystemEntry)
type rec fileSystemEntry = private {
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/isFile)
*/
isFile: bool,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/isDirectory)
*/
isDirectory: bool,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/name)
*/
name: string,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/fullPath)
*/
fullPath: string,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/filesystem)
*/
filesystem: fileSystem,
}
/**
[See FileSystemDirectoryEntry on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry)
*/
@editor.completeFrom(
BaseFileAndDirectoryEntries.FileSystemDirectoryEntry
) and fileSystemDirectoryEntry = private {
// Base properties from FileSystemEntry
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/isFile)
*/
isFile: bool,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/isDirectory)
*/
isDirectory: bool,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/name)
*/
name: string,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/fullPath)
*/
fullPath: string,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/filesystem)
*/
filesystem: fileSystem,
// End base properties from FileSystemEntry
}
/**
[See FileSystem on MDN](https://developer.mozilla.org/docs/Web/API/FileSystem)
*/
and fileSystem = {
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystem/name)
*/
name: string,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystem/root)
*/
root: fileSystemDirectoryEntry,
}