MCPcopy Create free account
hub / github.com/Sifchain/sifnode / MoveFile

Method MoveFile

tools/sifgen/utils/cli.go:97–99  ·  view source on GitHub ↗
(src, dest string)

Source from the content-addressed store, hash-verified

95}
96
97func (c CLI) MoveFile(src, dest string) (*string, error) {
98 return c.shellExec("mv", src, dest)
99}
100
101func (c CLI) NodeID(nodeDir string) (*string, error) {
102 return c.shellExec("sifnoded", "tendermint", "show-node-id", "--home", nodeDir)

Callers

nothing calls this directly

Calls 1

shellExecMethod · 0.95

Tested by

no test coverage detected