update deps

This commit is contained in:
2025-06-03 11:36:03 +03:00
parent dc52153fb4
commit c4fef72c3a
5 changed files with 26 additions and 24 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ import (
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"github.com/tenrok/filestore/remote"
"filestore/remote"
)
const defaultFileMode = 0o755
+7 -6
View File
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"net/http"
"os"
"sync"
)
@@ -14,13 +15,13 @@ var (
type Storage interface {
NewStorage(ctx context.Context, connString string) (Storage, error)
// Create(name string) (http.File, error)
Create(name string) (http.File, error)
Open(name string) (http.File, error)
// OpenFile(name string, flag int, fileMode os.FileMode) (http.File, error)
// Remove(name string) error
// RemoveAll(path string) error
// Rename(oldName, newName string) error
// Stat(name string) (os.FileInfo, error)
OpenFile(name string, flag int, fileMode os.FileMode) (http.File, error)
Remove(name string) error
RemoveAll(path string) error
Rename(oldName, newName string) error
Stat(name string) (os.FileInfo, error)
}
// NewStorage returns a new remote storage instance.