MCPcopy
hub / github.com/dosco/graphjin / Stat

Method Stat

core/fstable/backend.go:66–66  ·  view source on GitHub ↗

Stat returns metadata for a single key, or ErrNotFound if absent. No body is fetched.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

64 // Stat returns metadata for a single key, or ErrNotFound if absent.
65 // No body is fetched.
66 Stat(ctx context.Context, key string) (Entry, error)
67
68 // Get returns the body and metadata for a key. Callers MUST close
69 // the returned reader. Returns ErrNotFound when the key is absent.

Callers 15

StatMethod · 0.65
StatMethod · 0.65
existsMethod · 0.65
ResolveMethod · 0.65
NewLocalFunction · 0.65
StatMethod · 0.65
PutMethod · 0.65
cmdDBSeedFunction · 0.65

Implementers 6

readOnlyFilesystemBackendcore/fstable_cache.go
rotatingPresignBackendcore/fstable_bridge_test.go
Localcore/fstable/local.go
s3Backendserv/fstable_s3.go
gcsBackendserv/fstable_gcs.go

Calls

no outgoing calls