logical_shard_end#

barecat.Barecat.logical_shard_end(shard_number)[source]#

Logical end of a shard, in bytes, that is the position after the last byte of the last file contained in the shard.

Parameters:

shard_number (int) – Shard number, index starting from 0.

Returns:

Logical end of the shard, in bytes.

Return type:

int