-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Free apps from using github.com/nspcc-dev/neofs-api-go/v2
module
#570
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #570 +/- ##
=======================================
Coverage 68.15% 68.16%
=======================================
Files 122 122
Lines 9990 9972 -18
=======================================
- Hits 6809 6797 -12
+ Misses 2805 2800 -5
+ Partials 376 375 -1 ☔ View full report in Codecov by Sentry. |
37f63a8
to
553e2b4
Compare
It is in demand by apps exchanging unsigned tokens. Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
They are in demand by apps exchanging unsigned tokens. Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
They are not really needed for eACL setting - convenient methods are provided. But `Filter.Key` method provides access to them, so user should be fully equiped for switching or comparison. Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
No reason to hide it when corresponding setters are provided. While regular user is not so interested in such pretty complex information, it could be required to implement protocol conversions. Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Еhe need to expand a partially or fully formed storage policy is either absent or fully covered by slice manipulations. The parameter variability is also excessive: by default the list is empty and resetting it by calling it without parameters is difficult to read. Adding elements one-by-one is inefficient in terms of resources. While this is breaking change, it forces more clear app code and performance. Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@@ -234,23 +234,21 @@ func (r ReplicaDescriptor) SelectorName() string { | |||
return r.m.GetSelector() | |||
} | |||
|
|||
// AddReplicas adds a bunch object replica's characteristics. | |||
// SetReplicas sets list of object replica's characteristics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure it's an improvement, but let's see how it goes.
fKeyObjType | ||
fKeyObjHomomorphicHash | ||
fKeyObjLast // helper, used in tests | ||
FilterObjectVersion = v2acl.FilterObjectVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming as much straightforward as possible, i dont think writing FilterObjectVersion // object version
is needed
https://github.com/nspcc-dev/neo-go/ imports indirectly, all fine. https://github.com/nspcc-dev/neofs-node is maintained in a bundle and can be cleaned up last (not in this PR)
projects: