/
symlink_mode.pb.go
87 lines (74 loc) · 3.49 KB
/
symlink_mode.pb.go
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: sync/symlink_mode.proto
package sync
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// SymlinkMode specifies the mode for handling the propagation of symlinks.
type SymlinkMode int32
const (
// SymlinkMode_SymlinkModeDefault represents an unspecified symlink mode. It
// is not valid for use with Scan or Transition. It should be converted to
// one of the following values based on the desired default behavior.
SymlinkMode_SymlinkModeDefault SymlinkMode = 0
// SymlinkMode_SymlinkModeIgnore specifies that all symlinks should be
// ignored.
SymlinkMode_SymlinkModeIgnore SymlinkMode = 1
// SymlinkMode_SymlinkModePortable specifies that only portable symlinks
// should be synchronized. If a symlink is found during a scan operation
// that it is not portable, it halts the scan and synchronization. The
// reason for this is that it can't simply be ignored/unignored as desired
// without breaking the three-way merge.
SymlinkMode_SymlinkModePortable SymlinkMode = 2
// SymlinkMode_SymlinkModePOSIXRaw specifies that symlinks should be
// propagated in their raw form. It is only valid on POSIX systems and only
// makes sense in the context of POSIX-to-POSIX synchronization.
SymlinkMode_SymlinkModePOSIXRaw SymlinkMode = 3
)
var SymlinkMode_name = map[int32]string{
0: "SymlinkModeDefault",
1: "SymlinkModeIgnore",
2: "SymlinkModePortable",
3: "SymlinkModePOSIXRaw",
}
var SymlinkMode_value = map[string]int32{
"SymlinkModeDefault": 0,
"SymlinkModeIgnore": 1,
"SymlinkModePortable": 2,
"SymlinkModePOSIXRaw": 3,
}
func (x SymlinkMode) String() string {
return proto.EnumName(SymlinkMode_name, int32(x))
}
func (SymlinkMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0e22290de3ba98fb, []int{0}
}
func init() {
proto.RegisterEnum("sync.SymlinkMode", SymlinkMode_name, SymlinkMode_value)
}
func init() { proto.RegisterFile("sync/symlink_mode.proto", fileDescriptor_0e22290de3ba98fb) }
var fileDescriptor_0e22290de3ba98fb = []byte{
// 163 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2f, 0xae, 0xcc, 0x4b,
0xd6, 0x2f, 0xae, 0xcc, 0xcd, 0xc9, 0xcc, 0xcb, 0x8e, 0xcf, 0xcd, 0x4f, 0x49, 0xd5, 0x2b, 0x28,
0xca, 0x2f, 0xc9, 0x17, 0x62, 0x01, 0x49, 0x68, 0xe5, 0x71, 0x71, 0x07, 0x43, 0xe4, 0x7c, 0xf3,
0x53, 0x52, 0x85, 0xc4, 0xb8, 0x84, 0x90, 0xb8, 0x2e, 0xa9, 0x69, 0x89, 0xa5, 0x39, 0x25, 0x02,
0x0c, 0x42, 0xa2, 0x5c, 0x82, 0x48, 0xe2, 0x9e, 0xe9, 0x79, 0xf9, 0x45, 0xa9, 0x02, 0x8c, 0x42,
0xe2, 0x5c, 0xc2, 0x48, 0xc2, 0x01, 0xf9, 0x45, 0x25, 0x89, 0x49, 0x39, 0xa9, 0x02, 0x4c, 0xe8,
0x12, 0xfe, 0xc1, 0x9e, 0x11, 0x41, 0x89, 0xe5, 0x02, 0xcc, 0x4e, 0x6a, 0x51, 0x2a, 0xe9, 0x99,
0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x19, 0x89, 0x65, 0xf9, 0xc9, 0xba, 0x99,
0xf9, 0xfa, 0xb9, 0xa5, 0x25, 0x89, 0xe9, 0xa9, 0x79, 0xfa, 0x05, 0xd9, 0xe9, 0xfa, 0x20, 0x77,
0x25, 0xb1, 0x81, 0x1d, 0x69, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x7a, 0x01, 0xb5, 0xbf,
0x00, 0x00, 0x00,
}