protected internal virtual void CheckSnapshotExists(Directory dir, IndexCommit c) { string segFileName = c.SegmentsFileName; Assert.IsTrue(SlowFileExists(dir, segFileName), "segments file not found in directory: " + segFileName); }