MCPcopy
hub / github.com/safing/portmaster / Get

Method Get

base/runtime/provider.go:38–38  ·  view source on GitHub ↗

Get should return one or more records that match keyOrPrefix. keyOrPrefix is guaranteed to be at least the prefix used to register the ValueProvider.

(keyOrPrefix string)

Source from the content-addressed store, hash-verified

36 // keyOrPrefix is guaranteed to be at least the prefix used to
37 // register the ValueProvider.
38 Get(keyOrPrefix string) ([]record.Record, error)
39 }
40
41 // SimpleValueSetterFunc is a convenience type for implementing a

Callers 15

debugInfoFunction · 0.65
restartFunction · 0.65
getUpdateResourceFunction · 0.65
debugInfoFunction · 0.65
authorizeAppFunction · 0.65
handleMergeProfilesFunction · 0.65
handleUpdateProfileIconFunction · 0.65
loadProfilesMetadataFunction · 0.65
getProfileFunction · 0.65
GetIconAsDataURLMethod · 0.65
isNotificationSuppressedFunction · 0.65

Implementers 7

ModulesIntegrationservice/core/events.go
JSONAccessorbase/database/accessor/accessor-json-s
JSONBytesAccessorbase/database/accessor/accessor-json-b
StructAccessorbase/database/accessor/accessor-struct
singleRecordReaderbase/runtime/singe_record_provider.go
traceValueProviderbase/runtime/trace_provider.go
testProviderbase/runtime/registry_test.go

Calls

no outgoing calls

Tested by 2

TestDataFetchingFunction · 0.52
TestRegistryGetFunction · 0.52