Пример #1
0
 /// <summary>
 /// Gets the metadata for the given file or folder
 /// </summary>
 /// <returns>The metadata for the given file or folder</returns>
 /// <param name="file">The file or folder to examine</param>
 /// <param name="isSymlink">A flag indicating if the target is a symlink</param>
 /// <param name="followSymlink">A flag indicating if a symlink should be followed</param>
 public override Dictionary <string, string> GetMetadata(string file, bool isSymlink, bool followSymlink)
 {
     return(_sysIO.GetMetadata(file, isSymlink, followSymlink));
 }
Пример #2
0
        /// <summary>
        /// Gets the metadata for the given file or folder
        /// </summary>
        /// <returns>The metadata for the given file or folder</returns>
        /// <param name="file">The file or folder to examine</param>
        /// <param name="isSymlink">A flag indicating if the target is a symlink</param>
        /// <param name="followSymlink">A flag indicating if a symlink should be followed</param>
        public Dictionary <string, string> GetMetadata(string file, bool isSymlink, bool followSymlink)
        {
            var local = ConvertToSnapshotPath(FindSnapShotByLocalPath(file), file);

            return(_sysIO.GetMetadata(local, isSymlink, followSymlink));
        }
Пример #3
0
        /// <summary>
        /// Gets the metadata for the given file or folder
        /// </summary>
        /// <returns>The metadata for the given file or folder</returns>
        /// <param name="file">The file or folder to examine</param>
        public Dictionary <string, string> GetMetadata(string file)
        {
            var local = ConvertToSnapshotPath(FindSnapShotByLocalPath(file), file);

            return(_sysIO.GetMetadata(local));
        }
Пример #4
0
 /// <summary>
 /// Gets the metadata for the given file or folder
 /// </summary>
 /// <returns>The metadata for the given file or folder</returns>
 /// <param name="file">The file or folder to examine</param>
 public override Dictionary <string, string> GetMetadata(string file)
 {
     return(_sysIO.GetMetadata(file));
 }
Пример #5
0
 /// <summary>
 /// Gets the metadata for the given file or folder
 /// </summary>
 /// <returns>The metadata for the given file or folder</returns>
 /// <param name="localPath">The file or folder to examine</param>
 /// <param name="isSymlink">A flag indicating if the target is a symlink</param>
 /// <param name="followSymlink">A flag indicating if a symlink should be followed</param>
 public override Dictionary <string, string> GetMetadata(string localPath, bool isSymlink, bool followSymlink)
 {
     return(SYS_IO.GetMetadata(ConvertToSnapshotPath(localPath), isSymlink, followSymlink));
 }