Answer architecture round 8: a shipped package's folder spells its namespace (data/sv_SE, data/geo/SE) under its lowered Go name, as a second bench chose, a mounted root folder reads as its namespace, and item 196 cites goal 9.2
This commit is contained in:
@@ -58,6 +58,8 @@ func (s Source) labelled(p string) string {
|
||||
switch {
|
||||
case s.label != "":
|
||||
return path.Join(s.label, p)
|
||||
case s.mount != nil && p == ".":
|
||||
return strings.Join(s.mount, ".")
|
||||
case s.mount != nil:
|
||||
return fmt.Sprintf("%s (%s)", strings.Join(s.mount, "."), p)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user