fix: move tag command to subcommand of nodes

This commit is contained in:
Adrien Raffin-Caboisse
2022-04-21 23:43:20 +02:00
parent ea7bcfffbb
commit f53bb63b2d
3 changed files with 196 additions and 208 deletions
+10
View File
@@ -564,3 +564,13 @@ func GetFileMode(key string) fs.FileMode {
return fs.FileMode(mode)
}
func containsString(ss []string, s string) bool {
for _, v := range ss {
if v == s {
return true
}
}
return false
}