Example #1
0
File: iso.cs Project: bsv798/p3fes
        public void ImportAll(sio.FileStream fs, string path)
        {
            List<FileDirectoryDescriptor> files;
            int i, j;

            files = new List<FileDirectoryDescriptor>();

            for (i = 0; i < paths.Count; i++)
                for (j = 0; j < paths[i].files.Count; j++)
                    if (!paths[i].files[j].isDirectory)
                        files.Add(paths[i].files[j]);
            files.Sort(misc.CompareLocs);

            foreach (var file in files)
            {
                Console.WriteLine(string.Format("Importing file '{0}'", file.fullName));
                fs.Insert(path + file.fullName, ISO9660.logSize);
            }
        }