Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wal-g/wal-g
/ GetDataFolderPath
Function
GetDataFolderPath
internal/configure.go:180–182 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
178
}
179
180
func
GetDataFolderPath() string {
181
return
filepath.ToSlash(filepath.Join(getWalFolderPath(),
"walg_data"
))
182
}
183
184
// GetPgSlotName reads the slot name from the environment
185
func
GetPgSlotName() (pgSlotName string) {
Callers
8
TestGetDataFolderPath_Default
Function · 0.92
TestGetDataFolderPath_FolderNotExist
Function · 0.92
TestGetDataFolderPath_Wal
Function · 0.92
TestGetDataFolderPath_Xlog
Function · 0.92
TestGetDataFolderPath_WalIgnoreXlog
Function · 0.92
TestBackgroundWALUpload
Function · 0.92
configureWalDeltaUsage
Function · 0.92
getArchiveDataFolderPath
Function · 0.85
Calls
2
getWalFolderPath
Function · 0.85
Join
Method · 0.80
Tested by
6
TestGetDataFolderPath_Default
Function · 0.74
TestGetDataFolderPath_FolderNotExist
Function · 0.74
TestGetDataFolderPath_Wal
Function · 0.74
TestGetDataFolderPath_Xlog
Function · 0.74
TestGetDataFolderPath_WalIgnoreXlog
Function · 0.74
TestBackgroundWALUpload
Function · 0.74