Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/bootdotdev/bootdev
/ hasLeftTrimmedPrefix
Function
hasLeftTrimmedPrefix
checks/tmdl.go:52–55 ·
view source on GitHub ↗
(line, prefix string)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
hasLeftTrimmedPrefix(line, prefix string) bool {
53
trimmed := strings.TrimLeft(line,
" \t"
)
54
return
strings.HasPrefix(trimmed, prefix)
55
}
56
57
func
indentWidth(line string) int {
58
w := 0
Callers
1
ExtractTmdlBlock
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected