mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-11-29 13:25:14 +00:00
Rename MediaHypha to NonEmptyHypha
This commit is contained in:
committed by
Timur Ismagilov
parent
002e9f7a93
commit
6fc5cf994e
@@ -20,7 +20,7 @@ func findSiblings(hyphaName string) []*sibling {
|
||||
siblingsMap = make(map[string]bool)
|
||||
siblingCheck = func(h hyphae.Hypher) hyphae.CheckResult {
|
||||
switch {
|
||||
case h.CanonicalName() == hyphaName, // MediaHypha is no sibling of itself
|
||||
case h.CanonicalName() == hyphaName, // NonEmptyHypha is no sibling of itself
|
||||
h.CanonicalName() == parentHyphaName: // Parent hypha is no sibling of its child
|
||||
return hyphae.CheckContinue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user