vendor tsgo
This commit is contained in:
26
tools/tsgo/internal/vfs/vfsmatch/stringer_generated.go
Normal file
26
tools/tsgo/internal/vfs/vfsmatch/stringer_generated.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// Code generated by "stringer -type=Usage -trimprefix=Usage -output=stringer_generated.go"; DO NOT EDIT.
|
||||
|
||||
package vfsmatch
|
||||
|
||||
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[UsageFiles-0]
|
||||
_ = x[UsageDirectories-1]
|
||||
_ = x[UsageExclude-2]
|
||||
}
|
||||
|
||||
const _Usage_name = "FilesDirectoriesExclude"
|
||||
|
||||
var _Usage_index = [...]uint8{0, 5, 16, 23}
|
||||
|
||||
func (i Usage) String() string {
|
||||
idx := int(i) - 0
|
||||
if i < 0 || idx >= len(_Usage_index)-1 {
|
||||
return "Usage(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _Usage_name[_Usage_index[idx]:_Usage_index[idx+1]]
|
||||
}
|
||||
Reference in New Issue
Block a user