MCPcopy Index your code
hub / github.com/SummerSec/SpringExploit / main

Function main

cmd/test/FileWriter.go:9–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func main() {
10 f, _ := filepath.Abs("G:\\GitHubProject\\SpringExploit\\logs\\test.txt")
11 b := filepath.Base(f)
12 p := filepath.Dir(f)
13 fmt.Println(b)
14 fmt.Println(p)
15 utils.SaveToFile("test.txt\n", "logs\\test.txt")
16
17}

Callers

nothing calls this directly

Calls 1

SaveToFileFunction · 0.92

Tested by

no test coverage detected