MCPcopy Create free account
hub / github.com/astercloud/aster / containsPrefix

Function containsPrefix

pkg/executionplan/types_test.go:461–463  ·  view source on GitHub ↗
(s, prefix string)

Source from the content-addressed store, hash-verified

459}
460
461func containsPrefix(s, prefix string) bool {
462 return len(s) >= len(prefix) && s[:len(prefix)] == prefix
463}
464
465func TestStepDependencies(t *testing.T) {
466 plan := NewExecutionPlan("Test plan with dependencies")

Callers 1

TestGenerateIDsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected