forked from TrueCloudLab/frostfs-sdk-go
[#106] Add stringer and tests
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
bd110d8b41
commit
b5235bdf34
2 changed files with 88 additions and 0 deletions
|
@ -6,6 +6,12 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
type BasicACL uint32
|
||||
|
||||
func (a BasicACL) String() string {
|
||||
return fmt.Sprintf("0x%x", uint32(a))
|
||||
}
|
||||
|
||||
const (
|
||||
// PublicBasicRule is a basic ACL value for final public-read-write container for which extended ACL CANNOT be set.
|
||||
PublicBasicRule = 0x1FBFBFFF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue