OmniClientListEntry#

struct OmniClientListEntry#

List entry containing information about a file or folder.

Public Members

const char *relativePath#

The relative path for this item.

The exact meaning depends on the function being called for omniClientList, it’s the name of the item for omniClientListCheckpoints, it’s the “query” part of the URL

uint32_t access#

YOUR access level Some combination of OmniClientAccessFlags.

uint32_t flags#

Information about this item.

Some combination of OmniClientItemFlags

uint64_t size#

For files, the size in bytes. Undefined for other types.

uint64_t modifiedTimeNs#

Nanoseconds since the Unix epoch (1 January 1970) of the last time the file was modified.

uint64_t createdTimeNs#

Nanoseconds since the Unix epoch (1 January 1970) of when the file was created.

const char *modifiedBy#

User name of the last client to modify it.

Note

Not all providers support this, so it may be empty

const char *createdBy#

User name of the client that created it.

Note

Not all providers support this, so it may be empty

const char *version#

Provider-specific version.

Might not be an always incrementing number (could be a hash, for example)

Note

Not all providers support this, so it may be empty

const char *hash#

Provider specific file hash.

Note

Not all providers support this, so it may be empty

const char *comment#

Provider specific comment.

This will only be set for omniClientListCheckpoints

Note

Not all providers support this, so it may be empty

uint64_t deletedTimeNs#

Nanoseconds since the Unix epoch (1 January 1970) of when the file was deleted.

const char *deletedBy#

User name of the client that deleted it.

Note

Not all providers support this, so it may be empty

const char *lockedBy#

User name of the client that has this item locked (null if it’s not locked)

Note

Not all providers support this, so it may be empty