Modernize context import in internal/fuse

Migrated using `go fix`.
This commit is contained in:
Michael Eischer 2020-10-05 23:09:52 +02:00
parent efbb850d92
commit 9ffb698c8d
7 changed files with 9 additions and 10 deletions

View file

@ -3,13 +3,13 @@
package fuse
import (
"context"
"os"
"path/filepath"
"sync"
"bazil.org/fuse"
"bazil.org/fuse/fs"
"golang.org/x/net/context"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/restic"

View file

@ -3,6 +3,7 @@
package fuse
import (
"context"
"sort"
"github.com/restic/restic/internal/debug"
@ -11,7 +12,6 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
"golang.org/x/net/context"
)
// The default block size to report in stat

View file

@ -4,13 +4,12 @@ package fuse
import (
"bytes"
"context"
"math/rand"
"os"
"testing"
"time"
"golang.org/x/net/context"
"github.com/restic/restic/internal/repository"
"github.com/restic/restic/internal/restic"

View file

@ -3,10 +3,11 @@
package fuse
import (
"context"
"bazil.org/fuse"
"bazil.org/fuse/fs"
"github.com/restic/restic/internal/restic"
"golang.org/x/net/context"
)
// Statically ensure that *link implements the given interface

View file

@ -3,12 +3,11 @@
package fuse
import (
"context"
"os"
"github.com/restic/restic/internal/debug"
"golang.org/x/net/context"
"bazil.org/fuse"
"bazil.org/fuse/fs"
)

View file

@ -3,9 +3,10 @@
package fuse
import (
"context"
"bazil.org/fuse"
"github.com/restic/restic/internal/restic"
"golang.org/x/net/context"
)
type other struct {

View file

@ -3,6 +3,7 @@
package fuse
import (
"context"
"fmt"
"os"
"time"
@ -10,8 +11,6 @@ import (
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/restic"
"golang.org/x/net/context"
"bazil.org/fuse"
"bazil.org/fuse/fs"
)