public TreeWalker() { Mq = BlockingMq.GetMq(); FileTaskScheduler = SnaffCon.GetFileTaskScheduler(); TreeTaskScheduler = SnaffCon.GetTreeTaskScheduler(); FileScanner = SnaffCon.GetFileScanner(); }
public TreeWalker(string shareRoot) { Mq = BlockingMq.GetMq(); FileTaskScheduler = SnaffCon.GetFileTaskScheduler(); if (shareRoot == null) { Mq.Trace("A null made it into TreeWalker. Wtf."); return; } Mq.Trace("About to start a TreeWalker on share " + shareRoot); WalkTree(shareRoot); Mq.Trace("Finished TreeWalking share " + shareRoot); }