wasDAVClient

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 7  →  ?path2? @ 8
/wasDAVClient/IClient.cs
@@ -37,9 +37,8 @@
/// <summary>
/// Specify the UserAgent (and UserAgent version) string to use in requests
/// </summary>
string UserAgentVersion { get; set; }
 
 
string UserAgentVersion { get; set; }
 
/// <summary>
/// List all files present on the server.
/// </summary>
@@ -46,19 +45,19 @@
/// <param name="path">List only files in this path</param>
/// <param name="depth">Recursion depth</param>
/// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
Task<IEnumerable<Item>> List(string path = "/", int? depth = 1);
Task<IEnumerable<Item>> List(string path = Constants.DIRECTORY_SEPARATOR, string depth = Constants.DavDepth.MEMBERS);
 
/// <summary>
/// Get folder information from the server.
/// </summary>
/// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
Task<Item> GetFolder(string path = "/");
Task<Item> GetFolder(string path = Constants.DIRECTORY_SEPARATOR);
 
/// <summary>
/// Get file information from the server.
/// </summary>
/// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
Task<Item> GetFile(string path = "/");
Task<Item> GetFile(string path = Constants.DIRECTORY_SEPARATOR);
 
/// <summary>
/// Download a file from the server
@@ -85,13 +84,13 @@
/// Get folder information from the server.
/// </summary>
/// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
Task DeleteFolder(string path = "/");
Task DeleteFolder(string path = Constants.DIRECTORY_SEPARATOR);
 
/// <summary>
/// Get file information from the server.
/// </summary>
/// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
Task DeleteFile(string path = "/");
Task DeleteFile(string path = Constants.DIRECTORY_SEPARATOR);
 
/// <summary>
/// Move a folder on the server
@@ -107,4 +106,4 @@
/// <param name="dstFilePath">Destination path and filename of the file on the server</param>
Task<bool> MoveFile(string srcFilePath, string dstFilePath);
}
}
}