Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BlobApi
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
apis
BlobApi
Merge requests
!95
You need to sign in or sign up before continuing.
Release: Sprint/2023 07
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Release: Sprint/2023 07
dev
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
CoscineBot
requested to merge
dev
into
master
2 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
This Merge Request is automatically created
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d0c1eabb
2 commits,
2 years ago
1 file
+
8
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Blob/Controllers/BlobController.cs
+
8
−
0
Options
@@ -320,6 +320,14 @@ namespace Coscine.Api.Blob.Controllers
return
BadRequest
(
$"No provider for: \"
{
resource
.
Type
.
DisplayName
}
\"."
);
}
await
resourceTypeDefinition
.
DeleteEntry
(
resource
.
Id
.
ToString
(),
path
);
var
userGraphName
=
$"
{
_rdfStoreConnector
.
UserUrlPrefix
}
/
{
user
.
Id
}
"
;
if
(
resourceTypeDefinition
.
ResourceTypeConfiguration
.
SpecificType
?.
Type
!=
"linked"
)
{
_rdfStoreConnector
.
SetInvalidation
(
resource
.
Id
.
ToString
(),
path
,
"data"
,
new
Uri
(
userGraphName
));
}
_rdfStoreConnector
.
SetInvalidation
(
resource
.
Id
.
ToString
(),
path
,
"metadata"
,
new
Uri
(
userGraphName
));
LogAnalytics
(
"Delete File"
,
resourceId
,
path
,
user
);
return
NoContent
();
}
Loading