logical_shard_end#

barecat.Index.logical_shard_end(shard)#

Return the logical end offset of a shard, which is the index of a byte immediately after the last byte of the last file in the shard.

Parameters:

shard (int) – Shard number.

Returns:

The logical end offset of the shard.

Return type:

int