MCPcopy
hub / github.com/opencloud-eu/opencloud / PosixfsCommand

Function PosixfsCommand

opencloud/pkg/command/posixfs.go:57–68  ·  view source on GitHub ↗

PosixfsCommand is the entrypoint for the posixfs command.

(cfg *config.Config)

Source from the content-addressed store, hash-verified

55
56// PosixfsCommand is the entrypoint for the posixfs command.
57func PosixfsCommand(cfg *config.Config) *cobra.Command {
58 posixCmd := &cobra.Command{
59 Use: "posixfs",
60 Short: `cli tools to inspect and manipulate a posixfs storage.`,
61 GroupID: CommandGroupStorage,
62 }
63
64 posixCmd.AddCommand(consistencyCmd(cfg))
65 posixCmd.AddCommand(scanCmd(cfg))
66
67 return posixCmd
68}
69
70func init() {
71 register.AddCommand(PosixfsCommand)

Callers

nothing calls this directly

Calls 2

consistencyCmdFunction · 0.85
scanCmdFunction · 0.85

Tested by

no test coverage detected