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

Method Part

config/path.go:646–687  ·  view source on GitHub ↗

Part returns the route part on the desired position. The Route gets validated before extracting the part. Does not run Validate() Have Route: general/single_store_mode/enabled Pos<1 => ErrIncorrectPosition Pos=1 => general Pos=2 => single_store_mode Pos=3 => enabled Pos>3 => ErrIncorrect

(pos int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestPathPartPositionFunction · 0.95
BenchmarkPath_PartFunction · 0.80

Calls 2

IsValidMethod · 0.95
SeparatorsMethod · 0.95

Tested by 2

TestPathPartPositionFunction · 0.76
BenchmarkPath_PartFunction · 0.64