Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/git2go
/ SetMwindowMappedLimit
Function
SetMwindowMappedLimit
settings.go:84–86 ·
view source on GitHub ↗
(size int)
Source
from the content-addressed store, hash-verified
82
}
83
84
func
SetMwindowMappedLimit(size int) error {
85
return
setSizet(C.GIT_OPT_SET_MWINDOW_MAPPED_LIMIT, size)
86
}
87
88
func
EnableCaching(enabled bool) error {
89
if
enabled {
Callers
1
TestMmapSizes
Function · 0.85
Calls
1
setSizet
Function · 0.85
Tested by
1
TestMmapSizes
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…