File: options_helper_test.go

package info (click to toggle)
golang-github-anacrolix-fuse 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,000 kB
  • sloc: makefile: 5; sh: 3
file content (12 lines) | stat: -rw-r--r-- 265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
package fuse

//lint:ignore U1000 Used by TestMountOptionCommaError to bypass safe API

// for TestMountOptionCommaError
func ForTestSetMountOption(k, v string) MountOption {
	fn := func(conf *mountConfig) error {
		conf.options[k] = v
		return nil
	}
	return fn
}