/** * Start a task for indexing an mbox file */ public void IndexMbox(string mbox_file, bool initial_scan) { if (queryable.ThisScheduler.ContainsByTag(mbox_file)) { Logger.Log.Debug("Not adding task for already running task: {0}", mbox_file); return; } //Logger.Log.Debug ("Creating task to index mbox {0}", mbox_file); KMailMboxIndexableGenerator generator = new KMailMboxIndexableGenerator(this, mbox_file, initial_scan); AddIIndexableTask(generator, mbox_file); }
/** * Start a task for indexing an mbox file */ public void IndexMbox (string mbox_file, bool initial_scan) { if (queryable.ThisScheduler.ContainsByTag (mbox_file)) { Logger.Log.Debug ("Not adding task for already running task: {0}", mbox_file); return; } //Logger.Log.Debug ("Creating task to index mbox {0}", mbox_file); KMailMboxIndexableGenerator generator = new KMailMboxIndexableGenerator (this, mbox_file, initial_scan); AddIIndexableTask (generator, mbox_file); }