issue 900: gofmt files.go
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
|||||||
//
|
//
|
||||||
// **One seat for every file on a node.** The holder runs as the tool runner's account, the node's operator
|
// **One seat for every file on a node.** The holder runs as the tool runner's account, the node's operator
|
||||||
// account (ADR 0394 §2), and reaches further through `sudo -n` where that account's rights do not. It refuses by
|
// account (ADR 0394 §2), and reaches further through `sudo -n` where that account's rights do not. It refuses by
|
||||||
// name the places a secret is kept and the paths a module owns, unless a write names a reason (`override`).
|
// name the places a secret is kept (reads only, ADR 0394 §7) and the paths a module owns, unless a write names a reason (`override`).
|
||||||
// node-reads stays beside it until mesh-files is assigned on every node (ADR 0394 §9); it goes in the next
|
// node-reads stays beside it until mesh-files is assigned on every node (ADR 0394 §9); it goes in the next
|
||||||
// delivery.
|
// delivery.
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ func filesVerbs() []Verb {
|
|||||||
"mode": "the file's mode, such as 0644 (optional)"},
|
"mode": "the file's mode, such as 0644 (optional)"},
|
||||||
[]string{"path", "content"}, []string{"mode"}, "tee", ">"),
|
[]string{"path", "content"}, []string{"mode"}, "tee", ">"),
|
||||||
write("copy", "Copy a file or directory to a path on this node. A target on another node (<node>:/path) is "+
|
write("copy", "Copy a file or directory to a path on this node. A target on another node (<node>:/path) is "+
|
||||||
"refused: copying between nodes comes in step 2 (issue 903). An existing target is overwritten, the old one " +
|
"refused: copying between nodes comes in step 2 (issue 903). An existing target is overwritten, the old one "+
|
||||||
"kept in the node's trash for 7 days.",
|
"kept in the node's trash for 7 days.",
|
||||||
map[string]string{"from": "an absolute path", "to": "an absolute path on this node"},
|
map[string]string{"from": "an absolute path", "to": "an absolute path on this node"},
|
||||||
[]string{"from", "to"}, nil, "cp", "cp -a", "ssh <node> cp"),
|
[]string{"from", "to"}, nil, "cp", "cp -a", "ssh <node> cp"),
|
||||||
|
|||||||
Reference in New Issue
Block a user