Пример #1
0
 /// <summary>
 /// Returns the size of a file
 /// </summary>
 /// <param name="localPath">The full path to the file in non-snapshot format</param>
 /// <returns>The lenth of the file</returns>
 public override long GetFileSize(string localPath)
 {
     return(IO_WIN.FileLength(ConvertToSnapshotPath(localPath)));
 }
Пример #2
0
 /// <summary>
 /// Returns the size of a file
 /// </summary>
 /// <param name="file">The full path to the file in non-snapshot format</param>
 /// <returns>The lenth of the file</returns>
 public override long GetFileSize(string file)
 {
     return(m_sysIO.FileLength(file));
 }
 /// <summary>
 /// Returns the size of a file
 /// </summary>
 /// <param name="localPath">The full path to the file in non-snapshot format</param>
 /// <returns>The lenth of the file</returns>
 public override long GetFileSize(string localPath)
 {
     return(IO_WIN.FileLength(localPath));
 }