MCPcopy
hub / github.com/semaphoreui/semaphore / IsNativelyReadOnly

Method IsNativelyReadOnly

db/AccessKey.go:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (key *AccessKey) IsNativelyReadOnly() bool {
75 if key.SourceStorageType == nil {
76 return false
77 }
78
79 return *key.SourceStorageType == AccessKeySourceStorageFile || *key.SourceStorageType == AccessKeySourceStorageEnv
80}
81
82func (key *AccessKey) IsEmpty() bool {
83 if key == nil {

Callers 1

UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected