findCaseInsensitivePath() — gin Function Reference
Architecture documentation for the findCaseInsensitivePath() function in tree.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD fc18d220_df35_6188_6758_88cf7c135aa9["findCaseInsensitivePath()"] 8277b594_6f98_cdeb_7479_234057d43043["findCaseInsensitivePathRec()"] fc18d220_df35_6188_6758_88cf7c135aa9 -->|calls| 8277b594_6f98_cdeb_7479_234057d43043 style fc18d220_df35_6188_6758_88cf7c135aa9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tree.go lines 671–684
func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash bool) ([]byte, bool) {
const stackBufSize = 128
buf := make([]byte, 0, max(stackBufSize, len(path)+1))
ciPath := n.findCaseInsensitivePathRec(
path,
buf, // Preallocate enough memory for new path
[4]byte{}, // Empty rune buffer
fixTrailingSlash,
)
return ciPath, ciPath != nil
}
Domain
Subdomains
Source
Frequently Asked Questions
What does findCaseInsensitivePath() do?
findCaseInsensitivePath() is a function in the gin codebase.
What does findCaseInsensitivePath() call?
findCaseInsensitivePath() calls 1 function(s): findCaseInsensitivePathRec.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free