MCPcopy Create free account
hub / github.com/coder/coder / IndexIsDeleted

Function IndexIsDeleted

agent/filefinder/export_test.go:22–24  ·  view source on GitHub ↗

IndexIsDeleted reports whether the document at id is tombstoned.

(idx *Index, id uint32)

Source from the content-addressed store, hash-verified

20
21// IndexIsDeleted reports whether the document at id is tombstoned.
22func IndexIsDeleted(idx *Index, id uint32) bool {
23 return idx.deleted[id]
24}
25
26// IndexByGramLen returns the number of entries in the trigram index.
27func IndexByGramLen(idx *Index) int {

Callers 1

TestIndex_AddOverwriteFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected