public bool Exists(string directory) { try { FileStat stat = new FileStat(directory); return(stat.IsDirectory); } catch { return(false); } }
public bool Exists (string directory) { try { FileStat stat = new FileStat (directory); return stat.IsDirectory; } catch { return false; } }
public bool Exists (SafeUri uri) { FileStat stat = new FileStat (uri.LocalPath); return stat.IsRegularFile && !stat.IsDirectory; }
public long GetModifiedTime (SafeUri uri) { FileStat stat = new FileStat (uri.LocalPath); return stat.MTime; }
public bool Exists(SafeUri uri) { FileStat stat = new FileStat(uri.LocalPath); return(stat.IsRegularFile && !stat.IsDirectory); }
public long GetModifiedTime(SafeUri uri) { FileStat stat = new FileStat(uri.LocalPath); return(stat.MTime); }