Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TreeApi
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
GitLab 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
TreeApi
Commits
59104f72
Commit
59104f72
authored
3 years ago
by
Petar Hristov
Browse files
Options
Downloads
Patches
Plain Diff
Fix: int32 overflow for size attribute
parent
411fa7f1
No related branches found
No related tags found
2 merge requests
!48
Hotfix/1681 fixLargeFileSizeQuery
,
!47
Sprint/2021 16
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
src/Tree/Controllers/TreeController.cs
+2
-2
2 additions, 2 deletions
src/Tree/Controllers/TreeController.cs
with
3 additions
and
2 deletions
README.md
+
1
−
0
View file @
59104f72
## Tree
## Tree
The TreeApi handles the retrieving or storing metadata to a certain path.
The TreeApi handles the retrieving or storing metadata to a certain path.
This diff is collapsed.
Click to expand it.
src/Tree/Controllers/TreeController.cs
+
2
−
2
View file @
59104f72
...
@@ -149,8 +149,8 @@ namespace Coscine.Api.Tree.Controllers
...
@@ -149,8 +149,8 @@ namespace Coscine.Api.Tree.Controllers
{
{
Name
=
GetFolderOrFileName
(
x
),
Name
=
GetFolderOrFileName
(
x
),
Path
=
x
.
Key
,
Path
=
x
.
Key
,
Size
=
(
int
)
x
.
BodyBytes
,
Size
=
x
.
BodyBytes
,
Kind
=
x
.
Key
[(
x
.
Key
.
LastIndexOf
(
"."
)
+
1
)..]
,
Kind
=
x
.
HasBody
?
"file"
:
"folder"
,
Provider
=
resource
.
Type
.
DisplayName
Provider
=
resource
.
Type
.
DisplayName
};
};
var
objectMetaInfoReturnObject
=
new
ObjectMetaInfoReturnObject
(
objectMetaInfo
,
_blobApiLink
,
resource
.
Id
.
ToString
());
var
objectMetaInfoReturnObject
=
new
ObjectMetaInfoReturnObject
(
objectMetaInfo
,
_blobApiLink
,
resource
.
Id
.
ToString
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment