public override Errno OnGetPathStatus(ExpandedPath path, out NamedStat entry) { LoadChromosomeList(path); var species = path.Components[0]; var chromosome = path.Components.Last(); if (chromosomes.ContainsKey(species)) { entry = chromosomes[species].Where(ns => ns.Name == chromosome).First(); return(0); } else { entry = new NamedStat(); return(Errno.ENOENT); } }
public abstract Errno OnGetPathStatus( ExpandedPath path, out NamedStat entry);