Documentation
¶
Index ¶
- Variables
- func Move(path string, simulate bool) error
- type Config
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetCondition() string
- func (x *Target) GetNote() string
- func (x *Target) GetPath() string
- func (x *Target) GetSubDir() string
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_move_config_proto protoreflect.FileDescriptor
View Source
var File_move_target_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Config ¶
type Config struct {
Target []*Target `protobuf:"bytes,1,rep,name=target,proto3" json:"target,omitempty"`
// contains filtered or unexported fields
}
config message.
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Target ¶
type Target struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
SubDir string `protobuf:"bytes,2,opt,name=subDir,proto3" json:"subDir,omitempty"`
Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"`
// contains filtered or unexported fields
}
Targer message.
func (*Target) Descriptor
deprecated
func (*Target) GetCondition ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.