service

package
v0.0.0-...-2533672 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdService

type CmdService struct {
	Config *config.Config
}

func NewCmdService

func NewCmdService(conf *config.Config) *CmdService

func (*CmdService) Choose

func (s *CmdService) Choose(candidates []string) ([]string, error)

func (*CmdService) EditAndWait

func (s *CmdService) EditAndWait(fpath string, opts string) error

func (*CmdService) ExecAndWait

func (s *CmdService) ExecAndWait(name string, args ...string) error

type FsService

type FsService struct {
	Root string
}

func NewFsService

func NewFsService(root string) *FsService

func (*FsService) FindFiles

func (s *FsService) FindFiles(finder string, finderOpts string, word string) ([]string, error)

func (*FsService) ListFiles

func (s *FsService) ListFiles(root string) ([]string, error)

func (*FsService) MakeDirs

func (s *FsService) MakeDirs(path string) error

Jump to

Keyboard shortcuts

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