MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / CountIndexableFiles

Method CountIndexableFiles

inventory/file.go:333–335  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

331}
332
333func (f *fileClient) CountIndexableFiles(ctx context.Context) (int, error) {
334 return f.indexableFilesQuery().Count(ctx)
335}
336
337func (f *fileClient) ListIndexableFiles(ctx context.Context, afterID, limit int) ([]*ent.File, error) {
338 q := f.indexableFilesQuery()

Callers

nothing calls this directly

Calls 2

indexableFilesQueryMethod · 0.95
CountMethod · 0.65

Tested by

no test coverage detected