Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &command.C{ Name: "file", Help: `Manipulate file and directory objects File objects are addressed by storage keys. The storage key for a file may be specified in the following formats: root:<root-name> : the file key from a root pointer 74686973206973206d79206b6579 : hexadecimal encoded dGhpcyBpcyBteSBrZXk= : base64 encoded `, Commands: []*command.C{ { Name: "show", Usage: fileCmdUsage, Help: "Print the representation of a file object", Run: runShow, }, { Name: "read", Usage: fileCmdUsage, Help: "Read the binary contents of a file object", Run: runRead, }, { Name: "set", Usage: `root:<root-key>/<path> <target-key> <origin-key>/<path> <file-key>`, Help: `Set the specified path beneath the origin to the given target The storage key of the modified origin is printed to stdout. If the origin is from a root, the root is updated with the modified origin. `, Run: runSet, }, { Name: "remove", Usage: `root:<root-key>/<path> ... <origin-key>/<path> ...`, Help: `Remove the specified path from beneath the origin The storage key of the modified origin is printed to stdout. If the origin is from a root, the root is updated with the modified origin. `, Run: runRemove, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.