mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 19:08:55 +00:00
Modernize context import in internal/fuse
Migrated using `go fix`.
This commit is contained in:
parent
efbb850d92
commit
9ffb698c8d
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user