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

Method ReadOnly

base/database/controller.go:38–40  ·  view source on GitHub ↗

ReadOnly returns whether the storage is read only.

()

Source from the content-addressed store, hash-verified

36
37// ReadOnly returns whether the storage is read only.
38func (c *Controller) ReadOnly() bool {
39 return c.storage.ReadOnly()
40}
41
42// Injected returns whether the storage is injected.
43func (c *Controller) Injected() bool {

Callers 4

PutMethod · 0.95
PutNewMethod · 0.95
PutMethod · 0.95
PutManyMethod · 0.95

Calls 1

ReadOnlyMethod · 0.65

Tested by

no test coverage detected