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

Method AddrBookFile

config/config.go:635–637  ·  view source on GitHub ↗

AddrBookFile returns the full path to the address book

()

Source from the content-addressed store, hash-verified

633
634// AddrBookFile returns the full path to the address book
635func (cfg *P2PConfig) AddrBookFile() string {
636 return rootify(cfg.AddrBook, cfg.RootDir)
637}
638
639// ValidateBasic performs basic validation (checking param bounds, etc.) and
640// returns an error if any check fails.

Callers 4

resetAllCmdFunction · 0.80
Test_ResetAllFunction · 0.80

Calls 1

rootifyFunction · 0.85

Tested by 1

Test_ResetAllFunction · 0.64