Debian Codegraph @

test/common_mem.go

raw symbols SCIP
1 //go:build wasip1 || wasm || js
2
3 package test
4
5 import (
6 "io/fs"
7
8 "github.com/go-git/go-billy/v6"
9 "github.com/go-git/go-billy/v6/memfs"
10 )
11
12 var (
13 customMode fs.FileMode = 0o600
14 expectedSymlinkTarget = "/dir/file"
15 )
16
17 func allFS(_ func() string) []billy.Filesystem {
18 return []billy.Filesystem{
19 memfs.New(),
20 }
21 }