exfile_swift v0.2.0 ExfileSwift.Sharder behaviour
A behaviour defining a module to calculate shard id from file id.
Link to this section Summary
Callbacks
Calculate shard id
Link to this section Callbacks
Link to this callback
shard_id(id, shard_size)
Specs
shard_id(id :: String.t(), shard_size :: pos_integer()) :: String.t()
Calculate shard id