MCPcopy Create free account
hub / github.com/bufbuild/buf / Len

Method Len

private/bufpkg/bufanalysis/file_annotation_set.go:94–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92type sortFileAnnotationSlice []FileAnnotation
93
94func (a sortFileAnnotationSlice) Len() int { return len(a) }
95func (a sortFileAnnotationSlice) Swap(i int, j int) { a[i], a[j] = a[j], a[i] }
96func (a sortFileAnnotationSlice) Less(i int, j int) bool {
97 return fileAnnotationCompareTo(a[i], a[j]) < 0

Callers 15

runFunction · 0.80
completePathFromServicesFunction · 0.80
handleFunction · 0.80
runFunction · 0.80
reparseExtensionsMethod · 0.80
reparseInMessageFieldMethod · 0.80
HandleMethod · 0.80
TestDiffFunction · 0.80
forEachMessageFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestDiffFunction · 0.64
TestCelIssuesErrorsFunction · 0.64
TestGetDefaultFunction · 0.64
TestNewFilesFunction · 0.64
TestMutateInPlaceFunction · 0.64
examineCommentsFunction · 0.64
examineCommentFunction · 0.64
TestFormattingFunction · 0.64