Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
0fb249e4
Commit
0fb249e4
authored
7 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[proto] Deletes redundant "uid" and "gid" from Protobuf
parent
8cb11574
No related branches found
Branches containing commit
Tags
v0.0-107
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmdline/EosCtaStub.cpp
+0
-4
0 additions, 4 deletions
cmdline/EosCtaStub.cpp
xrootd-ssi-protobuf-interface
+1
-1
1 addition, 1 deletion
xrootd-ssi-protobuf-interface
with
1 addition
and
5 deletions
cmdline/EosCtaStub.cpp
+
0
−
4
View file @
0fb249e4
...
...
@@ -109,8 +109,6 @@ void base64Decode(cta::eos::Notification ¬ification, const std::string &argva
notification
.
mutable_file
()
->
mutable_mtime
()
->
set_sec
(
stoi
(
val
.
substr
(
0
,
pt_pos
)));
notification
.
mutable_file
()
->
mutable_mtime
()
->
set_nsec
(
stoi
(
val
.
substr
(
pt_pos
+
1
)));
}
else
if
(
key
==
"uid"
)
notification
.
mutable_file
()
->
mutable_owner
()
->
set_uid
(
stoi
(
val
));
else
if
(
key
==
"gid"
)
notification
.
mutable_file
()
->
mutable_owner
()
->
set_gid
(
stoi
(
val
));
else
if
(
key
==
"size"
)
notification
.
mutable_file
()
->
set_size
(
stoi
(
val
));
else
if
(
key
==
"xstype"
)
notification
.
mutable_file
()
->
mutable_cks
()
->
set_type
(
val
);
else
if
(
key
==
"xs"
)
notification
.
mutable_file
()
->
mutable_cks
()
->
set_value
(
val
);
...
...
@@ -148,8 +146,6 @@ void base64Decode(cta::eos::Notification ¬ification, const std::string &argva
notification
.
mutable_directory
()
->
mutable_mtime
()
->
set_sec
(
stoi
(
val
.
substr
(
0
,
pt_pos
)));
notification
.
mutable_directory
()
->
mutable_mtime
()
->
set_nsec
(
stoi
(
val
.
substr
(
pt_pos
+
1
)));
}
else
if
(
key
==
"uid"
)
notification
.
mutable_directory
()
->
mutable_owner
()
->
set_uid
(
stoi
(
val
));
else
if
(
key
==
"gid"
)
notification
.
mutable_directory
()
->
mutable_owner
()
->
set_gid
(
stoi
(
val
));
else
if
(
key
==
"size"
)
notification
.
mutable_directory
()
->
set_size
(
stoi
(
val
));
else
if
(
key
==
"mode"
)
notification
.
mutable_directory
()
->
set_mode
(
stoi
(
val
));
else
if
(
key
==
"file"
)
notification
.
mutable_directory
()
->
set_lpath
(
val
);
...
...
This diff is collapsed.
Click to expand it.
xrootd-ssi-protobuf-interface
@
ceb96f82
Subproject commit
d2b46169f5647246487bded724d8d341797c246c
Subproject commit
ceb96f82573becd825370fed391eae0b0bcf2dc5
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