move

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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

func Move

func Move(path string, simulate bool) error

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetTarget

func (x *Config) GetTarget() []*Target

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetCondition

func (x *Target) GetCondition() string

func (*Target) GetNote

func (x *Target) GetNote() string

func (*Target) GetPath

func (x *Target) GetPath() string

func (*Target) GetSubDir

func (x *Target) GetSubDir() string

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

func (x *Target) ProtoReflect() protoreflect.Message

func (*Target) Reset

func (x *Target) Reset()

func (*Target) String

func (x *Target) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL