Exemple #1
0
            public ArchiveTask(DirectoryInfoCache workDir, Action <IEnumerable <FileInfo>, string> archive, string extension)
            {
                Archive = archive;
                var node = DirectoryInfoCache.Forest(workDir);

                _walker         = node.Walker;
                Extension       = extension;
                SourceExtension = ".html";
            }
Exemple #2
0
        public void StartSplit()
        {
            Abort   = false;
            Current = StartDirectory;
            var root = DirectoryInfoCache.Forest(StartDirectory);

            _walker = root.Walker;

            _dirty.Clear();
            WriteBlack(StartDirectory.FullName);

            SyncDirectoryInfoCacheToFileSystem();
        }