MCPcopy Create free account
hub / github.com/DEROFDN/Engram / AppPath

Function AppPath

res.go:46–55  ·  view source on GitHub ↗

Get app path

()

Source from the content-addressed store, hash-verified

44
45// Get app path
46func AppPath() (result string) {
47 result, _ = os.Getwd()
48 if runtime.GOOS == "android" {
49 result = a.Storage().RootURI().Path()
50 } else if runtime.GOOS == "ios" {
51 result = a.Storage().RootURI().Path()
52 }
53
54 return
55}
56
57func GetAccounts() (result []string, err error) {
58 path := ""

Callers 15

GetDirFunction · 0.85
GetShardFunction · 0.85
initSettingsFunction · 0.85
startGnomonFunction · 0.85
cleanGnomonDataFunction · 0.85
GetAccountsFunction · 0.85
checkDirFunction · 0.85
layoutMainFunction · 0.85
layoutNewAccountFunction · 0.85
layoutRestoreFunction · 0.85
layoutPadFunction · 0.85
layoutAccountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected