File: loadlocation_string.go

package info (click to toggle)
vagrant 2.3.7%2Bgit20230731.5fc64cde%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 17,616 kB
  • sloc: ruby: 111,820; sh: 462; makefile: 123; ansic: 34; lisp: 1
file content (27 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (3)
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
// Code generated by "stringer -type=LoadLocation -linecomment ./internal/core"; DO NOT EDIT.

package core

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[VAGRANTFILE_BOX-0]
	_ = x[VAGRANTFILE_BASIS-1]
	_ = x[VAGRANTFILE_PROJECT-2]
	_ = x[VAGRANTFILE_TARGET-3]
	_ = x[VAGRANTFILE_PROVIDER-4]
}

const _LoadLocation_name = "BoxBasisProjectTargetProvider"

var _LoadLocation_index = [...]uint8{0, 3, 8, 15, 21, 29}

func (i LoadLocation) String() string {
	if i >= LoadLocation(len(_LoadLocation_index)-1) {
		return "LoadLocation(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _LoadLocation_name[_LoadLocation_index[i]:_LoadLocation_index[i+1]]
}