forked from TrueCloudLab/frostfs-sdk-go
[#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
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
Package version provides functionality for NeoFS versioning.
|
||||
Package version provides functionality for FrostFS versioning.
|
||||
|
||||
NeoFS uses NeoFS API versioning scheme. It uses major and minor version of
|
||||
FrostFS uses FrostFS API versioning scheme. It uses major and minor version of
|
||||
the API.
|
||||
|
||||
In most of the cases it will be enough to use the latest supported NeoFS API
|
||||
In most of the cases it will be enough to use the latest supported FrostFS API
|
||||
version in SDK:
|
||||
|
||||
ver := version.Current()
|
||||
|
|
|
@ -21,7 +21,7 @@ type Version refs.Version
|
|||
const sdkMjr, sdkMnr = 2, 13
|
||||
|
||||
// Current returns Version instance that initialized to the
|
||||
// latest supported NeoFS API revision number in SDK.
|
||||
// latest supported FrostFS API revision number in SDK.
|
||||
func Current() (v Version) {
|
||||
v.SetMajor(sdkMjr)
|
||||
v.SetMinor(sdkMnr)
|
||||
|
@ -57,7 +57,7 @@ func (v Version) WriteToV2(m *refs.Version) {
|
|||
}
|
||||
|
||||
// ReadFromV2 reads Version from the refs.Version message. Checks if the message
|
||||
// conforms to NeoFS API V2 protocol.
|
||||
// conforms to FrostFS API V2 protocol.
|
||||
//
|
||||
// See also WriteToV2.
|
||||
func (v *Version) ReadFromV2(m refs.Version) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue