예제 #1
0
        public FileSystem(List <Path> paths, CallDirectory callDirectory)
        {
            _callDirectory = callDirectory;
            FileSystemParser parser = new FileSystemParser(paths);

            _rootDirectory = parser.GetContent();
        }
예제 #2
0
        public FileSystem(List <Blob> blobs, CallDirectory callDirectory)
        {
            List <Path> paths = new List <Path>();

            foreach (Blob blob in blobs)
            {
                paths.Add(blob.FilePath.GetShortPath(callDirectory));
            }
            FileSystemParser parser = new FileSystemParser(paths);

            _rootDirectory = parser.GetContent();
        }