MCPcopy Create free account
hub / github.com/codetainerapp/codetainer / detectDatabasePath

Function detectDatabasePath

config.go:61–82  ·  view source on GitHub ↗

detectDataabsePath will return the path to the database file. Use either a global path: /etc/codetainer/codetainer.db Or a local path ~/.codetainer/codetainer.db

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

GetDatabasePathMethod · 0.85

Calls 3

fileExistsFunction · 0.85
JoinMethod · 0.45
StatMethod · 0.45

Tested by

no test coverage detected