Debian Codegraph @

tests/inputs/issues/350/fs.go

raw
1 package fs
2
3 func List() []string {
4 afero.Glob("/*")
5 }
6
7 func (fs aferoFs) AtomicCreateWith(fname string, data []byte) {
8 tmpFile := Sprintf("%s.tmp", fname)
9 }
10
11 // this is a comment
12 // this is a "comment"
13 // "this is a comment"
14 "// this is a comment"
15
16 func deleteTmpFiles(fs afero.Fs) {
17 if err != nil {
18 panic(err)
19 }
20 for _, n := range tmpFiles {
21 fs.Remove()
22 if err != nil {
23 }
24 }
25 }
26 // https://github.com/AlDanial/cloc/issues/350