Repository navigation
Expand file tree
/
Copy pathfnvfs_string.go
More file actions
64 lines (58 loc) · 1.93 KB
/
Copy pathfnvfs_string.go
File metadata and controls
64 lines (58 loc) · 1.93 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
// Code generated by "stringer -type FnVFS -trimprefix Fn -output fnvfs_string.go"; DO NOT EDIT.
package avfs
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[FnAbs-1]
_ = x[FnChdir-2]
_ = x[FnChmod-3]
_ = x[FnChown-4]
_ = x[FnChtimes-5]
_ = x[FnCreateTemp-6]
_ = x[FnEvalSymlinks-7]
_ = x[FnFileChdir-8]
_ = x[FnFileChmod-9]
_ = x[FnFileChown-10]
_ = x[FnFileClose-11]
_ = x[FnFileRead-12]
_ = x[FnFileReadAt-13]
_ = x[FnFileReadDir-14]
_ = x[FnFileReaddirnames-15]
_ = x[FnFileSeek-16]
_ = x[FnFileStat-17]
_ = x[FnFileSync-18]
_ = x[FnFileTruncate-19]
_ = x[FnFileWrite-20]
_ = x[FnFileWriteAt-21]
_ = x[FnGetwd-22]
_ = x[FnLchown-23]
_ = x[FnLink-24]
_ = x[FnLstat-25]
_ = x[FnMkdir-26]
_ = x[FnMkdirAll-27]
_ = x[FnMkdirTemp-28]
_ = x[FnOpenFile-29]
_ = x[FnReadDir-30]
_ = x[FnReadFile-31]
_ = x[FnReadlink-32]
_ = x[FnRemove-33]
_ = x[FnRemoveAll-34]
_ = x[FnRename-35]
_ = x[FnStat-36]
_ = x[FnSub-37]
_ = x[FnSymlink-38]
_ = x[FnTruncate-39]
_ = x[FnWalkDir-40]
_ = x[FnWriteFile-41]
}
const _FnVFS_name = "AbsChdirChmodChownChtimesCreateTempEvalSymlinksFileChdirFileChmodFileChownFileCloseFileReadFileReadAtFileReadDirFileReaddirnamesFileSeekFileStatFileSyncFileTruncateFileWriteFileWriteAtGetwdLchownLinkLstatMkdirMkdirAllMkdirTempOpenFileReadDirReadFileReadlinkRemoveRemoveAllRenameStatSubSymlinkTruncateWalkDirWriteFile"
var _FnVFS_index = [...]uint16{0, 3, 8, 13, 18, 25, 35, 47, 56, 65, 74, 83, 91, 101, 112, 128, 136, 144, 152, 164, 173, 184, 189, 195, 199, 204, 209, 217, 226, 234, 241, 249, 257, 263, 272, 278, 282, 285, 292, 300, 307, 316}
func (i FnVFS) String() string {
idx := int(i) - 1
if i < 1 || idx >= len(_FnVFS_index)-1 {
return "FnVFS(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _FnVFS_name[_FnVFS_index[idx]:_FnVFS_index[idx+1]]
}