Exemple #1
0
        static SoftFile Import(FileInfo i, IIndex d)
        {
            var hash = new Hash(i.FullName);

            return(d.AddFile(Program.CentralDirectory.Find(hash) ?? new SoftFile(Program.CentralDirectory.NextId, i.Name, "", new string[0], hash)));
        }