Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cubefs/cubefs
/ AddPrefix
Method
AddPrefix
objectnode/fs.go:44–46 ·
view source on GitHub ↗
(prefix string)
Source
from the content-addressed store, hash-verified
42
type
PrefixMap
map
[string]
struct
{}
43
44
func
(m PrefixMap) AddPrefix(prefix string) {
45
m[prefix] =
struct
{}{}
46
}
47
48
func
(m PrefixMap) Prefixes() Prefixes {
49
s := make([]string, 0, len(m))
Callers
1
recursiveScan
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected