Compare commits
7 Commits
8f67a1e799
...
22ba431f90
Author | SHA1 | Date |
---|---|---|
|
22ba431f90 | |
|
8181d1d911 | |
|
aa2ab87542 | |
|
1b55553512 | |
|
e6d25c4883 | |
|
efa4c09883 | |
|
b1161035be |
|
@ -1,3 +1,7 @@
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: docker.io/a6543/test_git_plugin:latest
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
compliance:
|
compliance:
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
|
|
10
overlay.go
10
overlay.go
|
@ -98,13 +98,3 @@ func WithSub(sub string) Option {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithCaching sets a caching mode for an FS
|
|
||||||
// Caching avoids subsequent os.Stat to determine if a file exists on disk
|
|
||||||
// See bench.txt for differences in usage
|
|
||||||
func WithCaching(doCache bool) Option {
|
|
||||||
return func(x *FS) error {
|
|
||||||
x.doCache = doCache
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue