mesh/delivery-group group feat/sdk1 rejected: composed together: the checker's verdict at the members' heads (428d048dd50a): unit: git.novox.be/novox/mesh-sdk/…
mesh/delivery closed: a newer head of the same pull request
mesh/check failed: unit: git.novox.be/novox/mesh-sdk/go/process.TestStatePutWritesAKeyWhole: a Put through a short blackout: 0, mesh-mail's state send…
Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
15 lines
338 B
Go
15 lines
338 B
Go
package catalogue
|
|
|
|
func file(content string, protected ...string) map[string]any {
|
|
r := map[string]any{"id": "conf", "type": "file", "path": "/etc/thing.json",
|
|
"merge": MergeJSON, "content": content}
|
|
if len(protected) > 0 {
|
|
var as []any
|
|
for _, p := range protected {
|
|
as = append(as, p)
|
|
}
|
|
r["protected"] = as
|
|
}
|
|
return r
|
|
}
|