Пример #1
0
        public override void Delete(string path, bool recursive)
        {
            Get(path).Delete(!recursive);

            // weird fallback from original implementation that checks whether file exists on file system
            // should be absolutely removed!!!
            if (System.IO.Directory.Exists(path))
            {
                System.IO.Directory.Delete(path, recursive);
            }


            SynchronizationHelper.LogDirectoryDeleteTask(path);
        }
        protected override void DeleteInternal()
        {
            new Directory().Delete(FullName, true);

            SynchronizationHelper.LogDirectoryDeleteTask(FullName);
        }