1ac6f2eeeb
In previous implementation RawObject constructor initialized internal v2 Object structure recursively so that further you can directly set the values of nested fields. This caused the object created by constructor New to be different from the object created from the empty object v2. Remove recursive initialization of v2 Object from New and NewRaw constructors. Make setters to initialize nested structures on demand. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru> |
||
---|---|---|
.. | ||
accounting | ||
acl | ||
client | ||
container | ||
netmap | ||
object | ||
owner | ||
.gitkeep | ||
checksum.go | ||
checksum_test.go | ||
signature.go | ||
version.go | ||
version_test.go |