[#4] Rename NeoFS mentions in comments and method names
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
b204a62da1
commit
4ff9c00de3
75 changed files with 423 additions and 423 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/TrueCloudLab/frostfs-sdk-go/user"
|
||||
)
|
||||
|
||||
// Info represents information about NeoFS subnet.
|
||||
// Info represents information about FrostFS subnet.
|
||||
//
|
||||
// Instances can be created using built-in var declaration.
|
||||
type Info struct {
|
||||
|
@ -18,7 +18,7 @@ type Info struct {
|
|||
owner user.ID
|
||||
}
|
||||
|
||||
// Marshal encodes Info into a binary format of the NeoFS API protocol
|
||||
// Marshal encodes Info into a binary format of the FrostFS API protocol
|
||||
// (Protocol Buffers with direct field order).
|
||||
//
|
||||
// See also Unmarshal.
|
||||
|
@ -91,7 +91,7 @@ func (x *Info) SetOwner(id user.ID) {
|
|||
// Owner returns subnet owner set using SetOwner.
|
||||
//
|
||||
// Zero Info has no owner which is incorrect according to the
|
||||
// NeoFS API protocol.
|
||||
// FrostFS API protocol.
|
||||
func (x Info) Owner() user.ID {
|
||||
return x.owner
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue