CmisSync.Notifications.FileSystemProgress.RemoveFileProgress C# (CSharp) Метод

RemoveFileProgress() публичный статический Метод

Removes the file progress if available.
public static RemoveFileProgress ( string path ) : void
path string Path of the file/folder
Результат void
        public static void RemoveFileProgress(string path) {
            try {
                Syscall.removexattr(path, extendAttrKey);
                NSFileAttributes attr = NSFileManager.DefaultManager.GetAttributes(path);
                attr.CreationDate = (new FileInfo(path)).CreationTime;
                NSFileManager.DefaultManager.SetAttributes(attr, path);
            } catch (Exception ex) {
                Logger.Debug(String.Format("Exception to unset {0} creation time for file status update: {1}", path, ex));
            }
        }