Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/git-lfs/git-lfs
/ TestReadOnlyConfig
Function
TestReadOnlyConfig
git/config_test.go:10–14 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
8
)
9
10
func
TestReadOnlyConfig(t *testing.T) {
11
cfg := NewReadOnlyConfig(
""
,
""
)
12
_, err := cfg.SetLocal(
"lfs.this.should"
,
"fail"
)
13
assert.Equal(t, err, ErrReadOnly)
14
}
Callers
nothing calls this directly
Calls
3
NewReadOnlyConfig
Function · 0.85
SetLocal
Method · 0.80
Equal
Method · 0.45
Tested by
no test coverage detected