Fixed some more references to bazilfuse.
parent
dd005502f0
commit
aa32dd928b
|
@ -1,4 +1,4 @@
|
||||||
package bazilfuse
|
package fuseshim
|
||||||
|
|
||||||
import "time"
|
import "time"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bazilfuse
|
package fuseshim
|
||||||
|
|
||||||
import "time"
|
import "time"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bazilfuse
|
package fuseshim
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bazilfuse
|
package fuseshim
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bazilfuse
|
package fuseshim
|
||||||
|
|
||||||
func localVolume(conf *mountConfig) error {
|
func localVolume(conf *mountConfig) error {
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package bazilfuse
|
package fuseshim
|
||||||
|
|
||||||
func localVolume(conf *mountConfig) error {
|
func localVolume(conf *mountConfig) error {
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -30,9 +30,9 @@ import (
|
||||||
|
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
|
|
||||||
"github.com/jacobsa/bazilfuse"
|
|
||||||
"github.com/jacobsa/fuse/fsutil"
|
"github.com/jacobsa/fuse/fsutil"
|
||||||
"github.com/jacobsa/fuse/fusetesting"
|
"github.com/jacobsa/fuse/fusetesting"
|
||||||
|
"github.com/jacobsa/fuse/internal/fuseshim"
|
||||||
"github.com/jacobsa/fuse/samples"
|
"github.com/jacobsa/fuse/samples"
|
||||||
. "github.com/jacobsa/oglematchers"
|
. "github.com/jacobsa/oglematchers"
|
||||||
. "github.com/jacobsa/ogletest"
|
. "github.com/jacobsa/ogletest"
|
||||||
|
@ -58,8 +58,8 @@ type flushFSTest struct {
|
||||||
|
|
||||||
func (t *flushFSTest) setUp(
|
func (t *flushFSTest) setUp(
|
||||||
ti *TestInfo,
|
ti *TestInfo,
|
||||||
flushErr bazilfuse.Errno,
|
flushErr fuseshim.Errno,
|
||||||
fsyncErr bazilfuse.Errno,
|
fsyncErr fuseshim.Errno,
|
||||||
readOnly bool) {
|
readOnly bool) {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
|
@ -810,7 +810,7 @@ func init() { RegisterTestSuite(&FlushErrorTest{}) }
|
||||||
|
|
||||||
func (t *FlushErrorTest) SetUp(ti *TestInfo) {
|
func (t *FlushErrorTest) SetUp(ti *TestInfo) {
|
||||||
const noErr = 0
|
const noErr = 0
|
||||||
t.flushFSTest.setUp(ti, bazilfuse.ENOENT, noErr, false)
|
t.flushFSTest.setUp(ti, fuseshim.ENOENT, noErr, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *FlushErrorTest) Close() {
|
func (t *FlushErrorTest) Close() {
|
||||||
|
@ -890,7 +890,7 @@ func init() { RegisterTestSuite(&FsyncErrorTest{}) }
|
||||||
|
|
||||||
func (t *FsyncErrorTest) SetUp(ti *TestInfo) {
|
func (t *FsyncErrorTest) SetUp(ti *TestInfo) {
|
||||||
const noErr = 0
|
const noErr = 0
|
||||||
t.flushFSTest.setUp(ti, noErr, bazilfuse.ENOENT, false)
|
t.flushFSTest.setUp(ti, noErr, fuseshim.ENOENT, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *FsyncErrorTest) Fsync() {
|
func (t *FsyncErrorTest) Fsync() {
|
||||||
|
|
|
@ -24,8 +24,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
"github.com/jacobsa/bazilfuse"
|
|
||||||
"github.com/jacobsa/fuse"
|
"github.com/jacobsa/fuse"
|
||||||
|
"github.com/jacobsa/fuse/internal/fuseshim"
|
||||||
"github.com/jacobsa/fuse/samples/flushfs"
|
"github.com/jacobsa/fuse/samples/flushfs"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
@ -58,11 +58,11 @@ func makeFlushFS() (server fuse.Server, err error) {
|
||||||
var fsyncErr error
|
var fsyncErr error
|
||||||
|
|
||||||
if *fFlushError != 0 {
|
if *fFlushError != 0 {
|
||||||
flushErr = bazilfuse.Errno(*fFlushError)
|
flushErr = fuseshim.Errno(*fFlushError)
|
||||||
}
|
}
|
||||||
|
|
||||||
if *fFsyncError != 0 {
|
if *fFsyncError != 0 {
|
||||||
fsyncErr = bazilfuse.Errno(*fFsyncError)
|
fsyncErr = fuseshim.Errno(*fFsyncError)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Report flushes and fsyncs by writing the contents followed by a newline.
|
// Report flushes and fsyncs by writing the contents followed by a newline.
|
||||||
|
|
Loading…
Reference in New Issue