aistore.sdk.list_object_flag

View as MarkdownOpen in Claude

Module Contents

Classes

NameDescription
ListObjectFlagBit-position flags for listing objects in a bucket.

API

class aistore.sdk.list_object_flag.ListObjectFlag

Bases: enum.Enum

Bit-position flags for listing objects in a bucket.

Each value is a bit position (not a bitmask). Use join_flags() to combine multiple flags into a single bitmask integer.

Must stay in sync with Go: api/apc/lsmsg.go (LsCached, LsMissing, …).

ARCH_DIR
= 3
BCK_PRESENT
= 6
CACHED
= 0
DELETED
= 2
DIFF
= 12
DONT_ADD_REMOTE
= 8
DONT_HEAD_REMOTE
= 7
IS_S3
= 14
MISSING
= 1
NAME_ONLY
= 4
NAME_SIZE
= 5
NBI
= 15
NOT_CACHED
= 9
NO_DIRS
= 13
NO_RECURSION
= 11
ONLY_REMOTE_PROPS
= 10