MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / WalDir

Method WalDir

config/config.go:765–767  ·  view source on GitHub ↗

WalDir returns the full path to the mempool's write-ahead log

()

Source from the content-addressed store, hash-verified

763
764// WalDir returns the full path to the mempool's write-ahead log
765func (cfg *MempoolConfig) WalDir() string {
766 return rootify(cfg.WalPath, cfg.RootDir)
767}
768
769// WalEnabled returns true if the WAL is enabled.
770func (cfg *MempoolConfig) WalEnabled() bool {

Callers 1

TestDefaultConfigFunction · 0.80

Calls 1

rootifyFunction · 0.85

Tested by 1

TestDefaultConfigFunction · 0.64