struct

Service::CreateShard

Inherits Struct < Value < Object

Constructors

new(db : ShardsDB, repo : Repo, name : String, entry : Catalog::Entry | Nil = nil)
Source

Instance methods

find_qualifier

Try to find a suitable shard name + qualifier. If there is already a shard by that name, the repo could reasonable be a mirror, a fork or simply a homonymous shard. This is impossible to reliably detect automatically. In essence, both forks and distinct shards need a separate shard instance. Mirrors should point to the same shard, but such a unification needs to be manually reviewed.

Source
perform
Source