Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df64cb9cba | ||
|
|
65d46844ba |
No files matched your search
@@ -66,7 +66,7 @@ require (
|
||||
github.com/open-policy-agent/opa v1.18.2
|
||||
github.com/orcaman/concurrent-map v1.0.0
|
||||
github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245
|
||||
github.com/owncloud/reva/v2 v2.0.0-20260710104539-1f85e04c1e35
|
||||
github.com/owncloud/reva/v2 v2.0.0-20260722150855-b3f3d8e889a3
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/pkg/xattr v0.4.12
|
||||
github.com/prometheus/client_golang v1.23.2
|
||||
|
||||
@@ -739,8 +739,8 @@ github.com/orcaman/concurrent-map v1.0.0 h1:I/2A2XPCb4IuQWcQhBhSwGfiuybl/J0ev9HD
|
||||
github.com/orcaman/concurrent-map v1.0.0/go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CFcDWnWD9XkenwhI=
|
||||
github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245 h1:JRidLTAKhnvyLMRtVtSF4lhBa0NSAOs6fof+d6JnKII=
|
||||
github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245/go.mod h1:z61VMGAJRtR1nbgXWiNoCkxUXP1B3Je9rMuJbnGd+Og=
|
||||
github.com/owncloud/reva/v2 v2.0.0-20260710104539-1f85e04c1e35 h1:40KHez6z6Ea+MHatRfZp4ZTX1TASGRG5UfvOpsQRbgU=
|
||||
github.com/owncloud/reva/v2 v2.0.0-20260710104539-1f85e04c1e35/go.mod h1:m2fGRZDsnNSBszbnwysuq7uhlitQ90+weX4FFQRdkak=
|
||||
github.com/owncloud/reva/v2 v2.0.0-20260722150855-b3f3d8e889a3 h1:I0TINypq76zgV6bKXJgefErreWmPDNRzbI2B47DIngw=
|
||||
github.com/owncloud/reva/v2 v2.0.0-20260722150855-b3f3d8e889a3/go.mod h1:m2fGRZDsnNSBszbnwysuq7uhlitQ90+weX4FFQRdkak=
|
||||
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw=
|
||||
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0=
|
||||
github.com/pablodz/inotifywaitgo v0.0.12 h1:DVJJTFMDlSAdO46yisPF2vzozs/r+4k6ih8MVghq78M=
|
||||
|
||||
+4
@@ -659,3 +659,7 @@ func (d *driver) UpdateStorageSpace(ctx context.Context, req *provider.UpdateSto
|
||||
func (d *driver) DeleteStorageSpace(ctx context.Context, req *provider.DeleteStorageSpaceRequest) (*storage.DeleteStorageSpaceResult, error) {
|
||||
return nil, errtypes.NotSupported("operation not supported")
|
||||
}
|
||||
|
||||
func (d *driver) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
+4
@@ -155,6 +155,10 @@ func (fs *cephfs) CommitUpload(ctx context.Context, ref *provider.Reference, sou
|
||||
return nil, errtypes.NotSupported("op not supported")
|
||||
}
|
||||
|
||||
func (fs *cephfs) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
|
||||
// UseIn tells the tus upload middleware which extensions it supports.
|
||||
func (fs *cephfs) UseIn(composer *tusd.StoreComposer) {
|
||||
composer.UseCore(fs)
|
||||
|
||||
+4
@@ -94,6 +94,10 @@ func (fs *hellofs) CommitUpload(ctx context.Context, ref *provider.Reference, so
|
||||
return nil, errtypes.NotSupported("hellofs: commit upload not supported")
|
||||
}
|
||||
|
||||
func (fs *hellofs) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
|
||||
// grants
|
||||
|
||||
// DenyGrant marks a resource as denied for a recipient
|
||||
|
||||
+4
@@ -275,6 +275,10 @@ func (d *Driver) CommitUpload(_ context.Context, _ *provider.Reference, _ storag
|
||||
return nil, errtypes.NotSupported("kiteworks: read-only driver")
|
||||
}
|
||||
|
||||
func (d *Driver) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
|
||||
func (d *Driver) RestoreRevision(_ context.Context, _ *provider.Reference, _ string) (*storage.RestoreRevisionResult, error) {
|
||||
return nil, errtypes.NotSupported("kiteworks: read-only driver")
|
||||
}
|
||||
|
||||
+4
@@ -419,6 +419,10 @@ func (nc *StorageDriver) CommitUpload(ctx context.Context, ref *provider.Referen
|
||||
return nil, errtypes.NotSupported("nextcloud: commit upload not supported")
|
||||
}
|
||||
|
||||
func (nc *StorageDriver) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
|
||||
// Upload as defined in the storage.FS interface
|
||||
func (nc *StorageDriver) Upload(ctx context.Context, req storage.UploadRequest, _ storage.UploadFinishedFunc) (*provider.ResourceInfo, error) {
|
||||
err := nc.doUpload(ctx, req.Ref.Path, req.Body)
|
||||
|
||||
+4
@@ -177,6 +177,10 @@ func (fs *owncloudsqlfs) CommitUpload(ctx context.Context, ref *provider.Referen
|
||||
return nil, errtypes.NotSupported("op not supported")
|
||||
}
|
||||
|
||||
func (fs *owncloudsqlfs) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
|
||||
// UseIn tells the tus upload middleware which extensions it supports.
|
||||
func (fs *owncloudsqlfs) UseIn(composer *tusd.StoreComposer) {
|
||||
composer.UseCore(fs)
|
||||
|
||||
+4
@@ -81,3 +81,7 @@ func (fs *s3FS) MarkProcessing(ctx context.Context, ref *provider.Reference, pro
|
||||
func (fs *s3FS) CommitUpload(ctx context.Context, ref *provider.Reference, source storage.UploadSource) (*provider.ResourceInfo, error) {
|
||||
return nil, errtypes.NotSupported("op not supported")
|
||||
}
|
||||
|
||||
func (fs *s3FS) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
+19
@@ -22,6 +22,7 @@ import (
|
||||
"context"
|
||||
"io"
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
|
||||
userpb "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
|
||||
@@ -68,6 +69,20 @@ type UnlockResult struct {
|
||||
SpaceID string
|
||||
}
|
||||
|
||||
type UploadInfo struct {
|
||||
NodeExisted bool // true when the target node existed before the upload started
|
||||
Size int64
|
||||
MTime time.Time
|
||||
Checksums UploadChecksums
|
||||
IfMatch string
|
||||
IfNoneMatch string
|
||||
IfUnmodifiedSince time.Time
|
||||
}
|
||||
|
||||
type PrepareUploadResult struct {
|
||||
VersionCreated bool
|
||||
}
|
||||
|
||||
// FS is the interface to implement access to the storage.
|
||||
type FS interface {
|
||||
// Minimal set for a readonly storage driver
|
||||
@@ -118,6 +133,10 @@ type FS interface {
|
||||
MarkProcessing(ctx context.Context, ref *provider.Reference, processing bool, sessionID string) error
|
||||
// CommitUpload writes the staged bytes from source to the resource at ref.
|
||||
CommitUpload(ctx context.Context, ref *provider.Reference, source UploadSource) (*provider.ResourceInfo, error)
|
||||
// PrepareUpload is called after all bytes are received and before postprocessing begins.
|
||||
// Implementations may lock the target node, snapshot the previous version, write new metadata,
|
||||
// and propagate size changes. Drivers that do not require any of these steps may return immediately.
|
||||
PrepareUpload(ctx context.Context, ref *provider.Reference, sessionID string, info UploadInfo) (*PrepareUploadResult, error)
|
||||
|
||||
// Revisions
|
||||
|
||||
|
||||
+214
-3
@@ -377,9 +377,6 @@ func (fs *Decomposedfs) MarkProcessing(ctx context.Context, ref *provider.Refere
|
||||
return n.RemoveXattr(ctx, prefixes.StatusPrefix, false)
|
||||
}
|
||||
|
||||
if n.IsProcessing(ctx) {
|
||||
return errtypes.ResourceProcessing(ref.String())
|
||||
}
|
||||
return n.SetXattrsWithContext(ctx, node.Attributes{
|
||||
prefixes.StatusPrefix: []byte(node.ProcessingStatus + sessionID),
|
||||
}, false) // acquireLock=false, because outer lock already held
|
||||
@@ -599,6 +596,220 @@ func validateRevisionChecksums(ctx context.Context, lu node.PathLookup, n *node.
|
||||
return nil
|
||||
}
|
||||
|
||||
// PrepareUpload finalizes node metadata after bytes are received, before postprocessing.
|
||||
// CommitUpload is called after postprocessing completes.
|
||||
func (fs *Decomposedfs) PrepareUpload(ctx context.Context, ref *provider.Reference, sessionID string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
ctx, span := tracer.Start(ctx, "PrepareUpload")
|
||||
defer span.End()
|
||||
|
||||
n, err := fs.lu.NodeFromResource(ctx, ref)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if !n.Exists {
|
||||
return nil, errtypes.NotFound(ref.String())
|
||||
}
|
||||
n.SpaceRoot, err = node.ReadNode(ctx, fs.lu, n.SpaceID, n.SpaceID, false, nil, false)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// scope to space owner GID for posix deployments; no-op with NullMapper
|
||||
if spaceGID, ok := ctx.Value(CtxKeySpaceGID).(uint32); ok {
|
||||
unscope, err := fs.um.ScopeUserByIds(-1, int(spaceGID))
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "failed to scope user")
|
||||
}
|
||||
if unscope != nil {
|
||||
defer func() { _ = unscope() }()
|
||||
}
|
||||
}
|
||||
|
||||
targetPath := n.InternalPath()
|
||||
f, err := lockedfile.OpenFile(fs.lu.MetadataBackend().LockfilePath(targetPath), os.O_RDWR|os.O_CREATE, 0600)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
unlock := func() error { return f.Close() }
|
||||
defer func() {
|
||||
if err := unlock(); err != nil {
|
||||
appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not close lock")
|
||||
}
|
||||
}()
|
||||
|
||||
var (
|
||||
sizeDiff int64
|
||||
versionCreated bool
|
||||
versionPath string
|
||||
oldAttrs node.Attributes
|
||||
oldMtime time.Time
|
||||
committed bool
|
||||
)
|
||||
|
||||
defer func() {
|
||||
if committed {
|
||||
return
|
||||
}
|
||||
if versionCreated {
|
||||
if err := os.Remove(versionPath); err != nil && !errors.Is(err, os.ErrNotExist) {
|
||||
appctx.GetLogger(ctx).Error().Err(err).Str("versionpath", versionPath).Msg("could not remove version file during rollback")
|
||||
}
|
||||
}
|
||||
if info.NodeExisted && oldAttrs != nil {
|
||||
if err := n.SetXattrsWithContext(ctx, oldAttrs, false); err != nil {
|
||||
appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node xattrs during rollback")
|
||||
}
|
||||
if err := fs.lu.TimeManager().SetMTime(ctx, n, &oldMtime); err != nil {
|
||||
appctx.GetLogger(ctx).Error().Err(err).Str("nodeid", n.ID).Msg("could not restore node mtime during rollback")
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
if info.NodeExisted {
|
||||
old, err := node.ReadNode(ctx, fs.lu, n.SpaceID, n.ID, false, nil, false)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "PrepareUpload: failed to read existing node")
|
||||
}
|
||||
if _, err := node.CheckQuota(ctx, n.SpaceRoot, old.BlobID != "", uint64(old.Blobsize), uint64(info.Size)); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
oldMtime, err = old.GetMTime(ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
oldEtag, err := node.CalculateEtag(old.ID, oldMtime)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if info.IfMatch != "" && info.IfMatch != oldEtag {
|
||||
return nil, errtypes.Aborted("etag mismatch")
|
||||
}
|
||||
if info.IfNoneMatch != "" {
|
||||
if info.IfNoneMatch == "*" {
|
||||
return nil, errtypes.Aborted("etag mismatch, resource exists")
|
||||
}
|
||||
for _, tag := range strings.Split(info.IfNoneMatch, ",") {
|
||||
if tag == oldEtag {
|
||||
return nil, errtypes.Aborted("etag mismatch")
|
||||
}
|
||||
}
|
||||
}
|
||||
if !info.IfUnmodifiedSince.IsZero() && oldMtime.After(info.IfUnmodifiedSince) {
|
||||
return nil, errtypes.Aborted("if-unmodified-since mismatch")
|
||||
}
|
||||
|
||||
// capture full node xattrs for rollback before any write
|
||||
oldAttrs, err = fs.lu.MetadataBackend().All(ctx, targetPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if !fs.o.DisableVersioning {
|
||||
versionPath = fs.lu.InternalPath(n.SpaceID, n.ID+node.RevisionIDDelimiter+oldMtime.UTC().Format(time.RFC3339Nano))
|
||||
revFile, err := os.OpenFile(versionPath, os.O_CREATE|os.O_EXCL, 0600)
|
||||
if err != nil {
|
||||
if !errors.Is(err, os.ErrExist) {
|
||||
return nil, err
|
||||
}
|
||||
// revision with this mtime already exists; verify blobs match then reclaim the slot
|
||||
if err := validateChecksums(ctx, fs.lu, n, versionPath); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
blobID, _, err := fs.lu.ReadBlobIDAndSizeAttr(ctx, versionPath, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := fs.tp.DeleteBlob(&node.Node{BlobID: blobID, SpaceID: n.SpaceID}); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
f2, err := os.Create(versionPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
f2.Close()
|
||||
} else {
|
||||
revFile.Close()
|
||||
}
|
||||
|
||||
if err := fs.lu.CopyMetadataWithSourceLock(ctx, targetPath, versionPath, func(attributeName string, value []byte) ([]byte, bool) {
|
||||
return value, strings.HasPrefix(attributeName, prefixes.ChecksumPrefix) ||
|
||||
attributeName == prefixes.TypeAttr ||
|
||||
attributeName == prefixes.BlobIDAttr ||
|
||||
attributeName == prefixes.BlobsizeAttr ||
|
||||
attributeName == prefixes.MTimeAttr
|
||||
}, f, true); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := os.Chtimes(versionPath, oldMtime, oldMtime); err != nil {
|
||||
return nil, errtypes.InternalError(fmt.Sprintf("failed to set mtime on version node: %s", err))
|
||||
}
|
||||
versionCreated = true
|
||||
}
|
||||
|
||||
sizeDiff = info.Size - old.Blobsize
|
||||
} else {
|
||||
if c, ok := fs.lu.(node.IDCacher); ok {
|
||||
if err := c.CacheID(ctx, n.SpaceID, n.ID, filepath.Join(n.ParentPath(), n.Name)); err != nil {
|
||||
appctx.GetLogger(ctx).Error().Err(err).Msg("failed to cache id")
|
||||
}
|
||||
}
|
||||
sizeDiff = info.Size
|
||||
}
|
||||
|
||||
attrs := node.Attributes{}
|
||||
attrs.SetString(prefixes.IDAttr, n.ID)
|
||||
attrs.SetInt64(prefixes.TypeAttr, int64(provider.ResourceType_RESOURCE_TYPE_FILE))
|
||||
attrs.SetString(prefixes.ParentidAttr, n.ParentID)
|
||||
attrs.SetString(prefixes.NameAttr, n.Name)
|
||||
attrs.SetString(prefixes.BlobIDAttr, sessionID)
|
||||
attrs.SetInt64(prefixes.BlobsizeAttr, info.Size)
|
||||
attrs[prefixes.ChecksumPrefix+"sha1"] = info.Checksums.SHA1
|
||||
attrs[prefixes.ChecksumPrefix+"md5"] = info.Checksums.MD5
|
||||
attrs[prefixes.ChecksumPrefix+"adler32"] = info.Checksums.Adler32
|
||||
|
||||
mtime := time.Now()
|
||||
if !info.MTime.IsZero() {
|
||||
mtime = info.MTime
|
||||
}
|
||||
if err := fs.lu.TimeManager().OverrideMtime(ctx, n, &attrs, mtime); err != nil {
|
||||
return nil, errors.Wrap(err, "failed to set mtime")
|
||||
}
|
||||
|
||||
if err := n.SetXattrsWithContext(ctx, attrs, false); err != nil {
|
||||
return nil, errors.Wrap(err, "could not write metadata")
|
||||
}
|
||||
|
||||
if err := fs.tp.Propagate(ctx, n, sizeDiff); err != nil {
|
||||
return nil, errors.Wrap(err, "could not propagate size change")
|
||||
}
|
||||
committed = true
|
||||
|
||||
return &storage.PrepareUploadResult{VersionCreated: versionCreated}, nil
|
||||
}
|
||||
|
||||
func validateChecksums(ctx context.Context, lu node.PathLookup, n *node.Node, versionPath string) error {
|
||||
for _, t := range []string{"md5", "sha1", "adler32"} {
|
||||
key := prefixes.ChecksumPrefix + t
|
||||
checksum, err := n.Xattr(ctx, key)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
revisionChecksum, err := lu.MetadataBackend().Get(ctx, versionPath, key)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if string(checksum) == "" || string(revisionChecksum) == "" {
|
||||
return errors.New("checksum not found")
|
||||
}
|
||||
if string(checksum) != string(revisionChecksum) {
|
||||
return errors.New("checksum mismatch")
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// UseIn tells the tus upload middleware which extensions it supports.
|
||||
func (fs *Decomposedfs) UseIn(composer *tusd.StoreComposer) {
|
||||
composer.UseCore(fs)
|
||||
|
||||
+4
@@ -106,3 +106,7 @@ func (fs *eosfs) MarkProcessing(ctx context.Context, ref *provider.Reference, pr
|
||||
func (fs *eosfs) CommitUpload(ctx context.Context, ref *provider.Reference, source storage.UploadSource) (*provider.ResourceInfo, error) {
|
||||
return nil, errtypes.NotSupported("op not supported")
|
||||
}
|
||||
|
||||
func (fs *eosfs) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
+4
@@ -159,6 +159,10 @@ func (fs *localfs) CommitUpload(ctx context.Context, ref *provider.Reference, so
|
||||
return nil, errtypes.NotSupported("op not supported")
|
||||
}
|
||||
|
||||
func (fs *localfs) PrepareUpload(_ context.Context, _ *provider.Reference, _ string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
return &storage.PrepareUploadResult{VersionCreated: info.NodeExisted}, nil
|
||||
}
|
||||
|
||||
// UseIn tells the tus upload middleware which extensions it supports.
|
||||
func (fs *localfs) UseIn(composer *tusd.StoreComposer) {
|
||||
composer.UseCore(fs)
|
||||
|
||||
+27
@@ -415,6 +415,33 @@ func (f *FS) CommitUpload(ctx context.Context, ref *provider.Reference, source s
|
||||
return res0, res1
|
||||
}
|
||||
|
||||
func (f *FS) PrepareUpload(ctx context.Context, ref *provider.Reference, sessionID string, info storage.UploadInfo) (*storage.PrepareUploadResult, error) {
|
||||
var (
|
||||
err error
|
||||
unhook UnHook
|
||||
unhooks []UnHook
|
||||
)
|
||||
for _, hook := range f.hooks {
|
||||
ctx, unhook, err = hook("PrepareUpload", ctx, ref.GetResourceId().GetSpaceId())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if unhook != nil {
|
||||
unhooks = append(unhooks, unhook)
|
||||
}
|
||||
}
|
||||
|
||||
res, err := f.next.PrepareUpload(ctx, ref, sessionID, info)
|
||||
|
||||
for _, unhook := range unhooks {
|
||||
if uerr := unhook(); uerr != nil {
|
||||
return nil, uerr
|
||||
}
|
||||
}
|
||||
|
||||
return res, err
|
||||
}
|
||||
|
||||
func (f *FS) Download(ctx context.Context, ref *provider.Reference, openReaderFunc func(md *provider.ResourceInfo) bool) (*provider.ResourceInfo, io.ReadCloser, error) {
|
||||
var (
|
||||
err error
|
||||
|
||||
Vendored
+1
-1
@@ -1321,7 +1321,7 @@ github.com/orcaman/concurrent-map
|
||||
# github.com/owncloud/libre-graph-api-go v1.0.5-0.20260216101009-eeac018af245
|
||||
## explicit; go 1.18
|
||||
github.com/owncloud/libre-graph-api-go
|
||||
# github.com/owncloud/reva/v2 v2.0.0-20260710104539-1f85e04c1e35
|
||||
# github.com/owncloud/reva/v2 v2.0.0-20260722150855-b3f3d8e889a3
|
||||
## explicit; go 1.25.8
|
||||
github.com/owncloud/reva/v2/cmd/revad/internal/grace
|
||||
github.com/owncloud/reva/v2/cmd/revad/runtime
|
||||
|
||||
+2
-2
@@ -109,9 +109,9 @@
|
||||
"@xmldom/xmldom": "0.8.13",
|
||||
"flatted": "3.4.2",
|
||||
"form-data": "4.0.6",
|
||||
"immutable": "5.1.5",
|
||||
"immutable": "5.1.8",
|
||||
"js-cookie": "3.0.7",
|
||||
"linkify-it": "5.0.1",
|
||||
"linkify-it": "5.0.2",
|
||||
"minimatch@>=9.0.0 <9.0.7": "9.0.7",
|
||||
"ws": "8.21.0"
|
||||
},
|
||||
|
||||
Generated
+10
-10
@@ -12,9 +12,9 @@ overrides:
|
||||
'@xmldom/xmldom': 0.8.13
|
||||
flatted: 3.4.2
|
||||
form-data: 4.0.6
|
||||
immutable: 5.1.5
|
||||
immutable: 5.1.8
|
||||
js-cookie: 3.0.7
|
||||
linkify-it: 5.0.1
|
||||
linkify-it: 5.0.2
|
||||
minimatch@>=9.0.0 <9.0.7: 9.0.7
|
||||
ws: 8.21.0
|
||||
|
||||
@@ -5167,8 +5167,8 @@ packages:
|
||||
immediate@3.0.6:
|
||||
resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}
|
||||
|
||||
immutable@5.1.5:
|
||||
resolution: {integrity: sha512-t7xcm2siw+hlUM68I+UEOK+z84RzmN59as9DZ7P1l0994DKUWV7UXBMQZVxaoMSRQ+PBZbHCOoBt7a2wxOMt+A==}
|
||||
immutable@5.1.8:
|
||||
resolution: {integrity: sha512-TM5YqrGeTsVIPPpILzeqZ8D2Zc2TvNgSDi88zPF2a4cyqQdWV/wVWBDRDbNzzrLeRWScrFcOX9lW2iX6GOtUDw==}
|
||||
|
||||
import-fresh@3.3.1:
|
||||
resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}
|
||||
@@ -5483,8 +5483,8 @@ packages:
|
||||
lines-and-columns@1.2.4:
|
||||
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
|
||||
|
||||
linkify-it@5.0.1:
|
||||
resolution: {integrity: sha512-wVoTjP4Q6R0NW5hiZkVJaFZPWgtXfoGF+6LucL3/FtiNjmcHhYjEr5f1Kqjirc1nBW07J/ZuRFumqr2oqccEWg==}
|
||||
linkify-it@5.0.2:
|
||||
resolution: {integrity: sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==}
|
||||
|
||||
loader-runner@4.3.2:
|
||||
resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==}
|
||||
@@ -12090,7 +12090,7 @@ snapshots:
|
||||
|
||||
immediate@3.0.6: {}
|
||||
|
||||
immutable@5.1.5: {}
|
||||
immutable@5.1.8: {}
|
||||
|
||||
import-fresh@3.3.1:
|
||||
dependencies:
|
||||
@@ -12417,7 +12417,7 @@ snapshots:
|
||||
|
||||
lines-and-columns@1.2.4: {}
|
||||
|
||||
linkify-it@5.0.1:
|
||||
linkify-it@5.0.2:
|
||||
dependencies:
|
||||
uc.micro: 2.1.0
|
||||
|
||||
@@ -12543,7 +12543,7 @@ snapshots:
|
||||
dependencies:
|
||||
argparse: 2.0.1
|
||||
entities: 4.5.0
|
||||
linkify-it: 5.0.1
|
||||
linkify-it: 5.0.2
|
||||
mdurl: 2.0.0
|
||||
punycode.js: 2.3.1
|
||||
uc.micro: 2.1.0
|
||||
@@ -13446,7 +13446,7 @@ snapshots:
|
||||
sass@1.94.1:
|
||||
dependencies:
|
||||
chokidar: 4.0.3
|
||||
immutable: 5.1.5
|
||||
immutable: 5.1.8
|
||||
source-map-js: 1.2.1
|
||||
optionalDependencies:
|
||||
'@parcel/watcher': 2.6.0
|
||||
|
||||
Reference in new issue
Block a user