MCPcopy Create free account
hub / github.com/corestoreio/pkg / Level

Method Level

config/path.go:543–578  ·  view source on GitHub ↗

Level returns a hierarchical based route depending on the depth. The depth argument defines the depth of levels to be returned. Depth 1 will return the first part like "a", Depth 2 returns "a/b" Depth 3 returns "a/b/c" and so on. Level -1 gives you all available levels. Does generate a fully qualifi

(depth int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

Hash64ByLevelMethod · 0.95
TestNewByPartsFunction · 0.80
TestPath_ParseFunction · 0.80
TestPath_Hash64ByLevelFunction · 0.80
TestPathLevelFunction · 0.80
BenchmarkPathParseFunction · 0.80
benchmarkRouteLevelRunFunction · 0.80
readMapAndSendMethod · 0.80

Calls 2

IsValidMethod · 0.95
FQMethod · 0.95

Tested by 6

TestNewByPartsFunction · 0.64
TestPath_ParseFunction · 0.64
TestPath_Hash64ByLevelFunction · 0.64
TestPathLevelFunction · 0.64
BenchmarkPathParseFunction · 0.64
benchmarkRouteLevelRunFunction · 0.64