From 3732d8bb5dce774b43062ed74ad8189cf115c176 Mon Sep 17 00:00:00 2001 From: morkt Date: Thu, 4 Jan 2018 20:40:02 +0400 Subject: [PATCH] (ArchiveFormat): ditched overwrite stubs. --- GameRes/ArchiveFormat.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/GameRes/ArchiveFormat.cs b/GameRes/ArchiveFormat.cs index 4e561d45..70ba2d43 100644 --- a/GameRes/ArchiveFormat.cs +++ b/GameRes/ArchiveFormat.cs @@ -85,10 +85,6 @@ namespace GameRes static public Stream CreateFile (string filename) { filename = CreatePath (filename); - if (File.Exists (filename)) - { - // query somehow whether to overwrite existing file or not. - } return File.Create (filename); } @@ -151,10 +147,4 @@ namespace GameRes } public delegate ArchiveOperation EntryCallback (int num, Entry entry, string description); - - public class OverwriteEventArgs : EventArgs - { - public string Filename { get; set; } - public bool Overwrite { get; set; } - } }