Documentation ¶
Index ¶
- Variables
- type Jump
- func (p *Jump) Add(path string, num ...uint64) string
- func (p *Jump) Autojump()
- func (*Jump) Descriptor() ([]byte, []int)deprecated
- func (x *Jump) GetConfig() string
- func (x *Jump) GetHome() string
- func (x *Jump) GetPaths() map[string]uint64
- func (x *Jump) GetUpdate() uint32
- func (p *Jump) History()
- func (p *Jump) Init()
- func (p *Jump) Jump(path string) string
- func (*Jump) ProtoMessage()
- func (x *Jump) ProtoReflect() protoreflect.Message
- func (x *Jump) Reset()
- func (p *Jump) Save()
- func (x *Jump) String() string
- type Path
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPathExist = errors.New("path is exist") ErrConfigIsDir = errors.New("config is dir") )
View Source
var File_pb_jump_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Jump ¶
type Jump struct { Update uint32 `protobuf:"varint,1,opt,name=update,proto3" json:"update,omitempty"` Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Home string `protobuf:"bytes,3,opt,name=home,proto3" json:"home,omitempty"` Paths map[string]uint64 `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Jump) Descriptor
deprecated
func (*Jump) ProtoMessage ¶
func (*Jump) ProtoMessage()
func (*Jump) ProtoReflect ¶
func (x *Jump) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.