filesystem

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat added in v0.0.2

func Cat(rpc clientrpc.MaliceRPCClient, session *core.Session, fileName string) (*clientpb.Task, error)

func CatCmd

func CatCmd(cmd *cobra.Command, con *repl.Console) error

func Cd added in v0.0.2

func Cd(rpc clientrpc.MaliceRPCClient, session *core.Session, path string) (*clientpb.Task, error)

func CdCmd

func CdCmd(cmd *cobra.Command, con *repl.Console) error

func Chmod added in v0.0.2

func Chmod(rpc clientrpc.MaliceRPCClient, session *core.Session, path, mode string) (*clientpb.Task, error)

func ChmodCmd

func ChmodCmd(cmd *cobra.Command, con *repl.Console) error

func Chown added in v0.0.2

func Chown(rpc clientrpc.MaliceRPCClient, session *core.Session, path, uid, gid string, recursive bool) (*clientpb.Task, error)

func ChownCmd

func ChownCmd(cmd *cobra.Command, con *repl.Console) error

func Commands

func Commands(con *repl.Console) []*cobra.Command

func Cp added in v0.0.2

func Cp(rpc clientrpc.MaliceRPCClient, session *core.Session, originPath, targetPath string) (*clientpb.Task, error)

func CpCmd

func CpCmd(cmd *cobra.Command, con *repl.Console) error

func Ls added in v0.0.2

func Ls(rpc clientrpc.MaliceRPCClient, session *core.Session, path string) (*clientpb.Task, error)

func LsCmd

func LsCmd(cmd *cobra.Command, con *repl.Console) error

func Mkdir added in v0.0.2

func Mkdir(rpc clientrpc.MaliceRPCClient, session *core.Session, path string) (*clientpb.Task, error)

func MkdirCmd

func MkdirCmd(cmd *cobra.Command, con *repl.Console) error

func Mv added in v0.0.2

func Mv(rpc clientrpc.MaliceRPCClient, session *core.Session, sourcePath, targetPath string) (*clientpb.Task, error)

func MvCmd

func MvCmd(cmd *cobra.Command, con *repl.Console) error

func Pwd added in v0.0.2

func Pwd(rpc clientrpc.MaliceRPCClient, session *core.Session) (*clientpb.Task, error)

func PwdCmd

func PwdCmd(cmd *cobra.Command, con *repl.Console) error

func Register added in v0.0.2

func Register(con *repl.Console)

func RegisterLsFunc added in v0.0.3

func RegisterLsFunc(con *repl.Console)

func Rm added in v0.0.2

func Rm(rpc clientrpc.MaliceRPCClient, session *core.Session, fileName string) (*clientpb.Task, error)

func RmCmd

func RmCmd(cmd *cobra.Command, con *repl.Console) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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