build(deps): use stdlib context package (#5001)

This commit is contained in:
Julio Lopez
2025-11-17 15:59:46 -08:00
committed by GitHub
parent 70f8d678d0
commit 1aaf433cdc
2 changed files with 4 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
package fusemount
import (
"context"
"io"
"os"
"sync"
@@ -14,7 +15,6 @@
gofusefs "github.com/hanwen/go-fuse/v2/fs"
"github.com/hanwen/go-fuse/v2/fuse"
"github.com/pkg/errors"
"golang.org/x/net/context"
"github.com/kopia/kopia/fs"
"github.com/kopia/kopia/repo/logging"

View File

@@ -2,13 +2,13 @@
package webdavmount
import (
"context"
"os"
"strings"
"sync"
"sync/atomic"
"github.com/pkg/errors"
"golang.org/x/net/context"
"golang.org/x/net/webdav"
"github.com/kopia/kopia/fs"
@@ -26,7 +26,7 @@
type webdavFile struct {
// webdavFile implements webdav.File but needs context
// +checklocks:mu
ctx context.Context
ctx context.Context //nolint:containedctx
entry fs.File
@@ -100,7 +100,7 @@ func (f *webdavFile) Close() error {
type webdavDir struct {
// webdavDir implements webdav.File but needs context
ctx context.Context
ctx context.Context //nolint:containedctx
w *webdavFS
info os.FileInfo