wasDAVClient – Diff between revs 5 and 8

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 5 Rev 8
Line 35... Line 35...
35 string UserAgent { get; set; } 35 string UserAgent { get; set; }
Line 36... Line 36...
36   36  
37 /// <summary> 37 /// <summary>
38 /// Specify the UserAgent (and UserAgent version) string to use in requests 38 /// Specify the UserAgent (and UserAgent version) string to use in requests
39 /// </summary> 39 /// </summary>
40 string UserAgentVersion { get; set; } -  
41   40 string UserAgentVersion { get; set; }
42   41  
43 /// <summary> 42 /// <summary>
44 /// List all files present on the server. 43 /// List all files present on the server.
45 /// </summary> 44 /// </summary>
46 /// <param name="path">List only files in this path</param> 45 /// <param name="path">List only files in this path</param>
47 /// <param name="depth">Recursion depth</param> 46 /// <param name="depth">Recursion depth</param>
48 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns> 47 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
Line 49... Line 48...
49 Task<IEnumerable<Item>> List(string path = "/", int? depth = 1); 48 Task<IEnumerable<Item>> List(string path = Constants.DIRECTORY_SEPARATOR, string depth = Constants.DavDepth.MEMBERS);
50   49  
51 /// <summary> 50 /// <summary>
52 /// Get folder information from the server. 51 /// Get folder information from the server.
53 /// </summary> 52 /// </summary>
Line 54... Line 53...
54 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns> 53 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
55 Task<Item> GetFolder(string path = "/"); 54 Task<Item> GetFolder(string path = Constants.DIRECTORY_SEPARATOR);
56   55  
57 /// <summary> 56 /// <summary>
58 /// Get file information from the server. 57 /// Get file information from the server.
Line 59... Line 58...
59 /// </summary> 58 /// </summary>
60 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns> 59 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
61 Task<Item> GetFile(string path = "/"); 60 Task<Item> GetFile(string path = Constants.DIRECTORY_SEPARATOR);
62   61  
Line 83... Line 82...
83   82  
84 /// <summary> 83 /// <summary>
85 /// Get folder information from the server. 84 /// Get folder information from the server.
86 /// </summary> 85 /// </summary>
87 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns> 86 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
Line 88... Line 87...
88 Task DeleteFolder(string path = "/"); 87 Task DeleteFolder(string path = Constants.DIRECTORY_SEPARATOR);
89   88  
90 /// <summary> 89 /// <summary>
91 /// Get file information from the server. 90 /// Get file information from the server.
92 /// </summary> 91 /// </summary>
Line 93... Line 92...
93 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns> 92 /// <returns>A list of files (entries without a trailing slash) and directories (entries with a trailing slash)</returns>
94 Task DeleteFile(string path = "/"); 93 Task DeleteFile(string path = Constants.DIRECTORY_SEPARATOR);
95   94  
96 /// <summary> 95 /// <summary>
Line 105... Line 104...
105 /// </summary> 104 /// </summary>
106 /// <param name="srcFilePath">Source path and filename of the file on the server</param> 105 /// <param name="srcFilePath">Source path and filename of the file on the server</param>
107 /// <param name="dstFilePath">Destination path and filename of the file on the server</param> 106 /// <param name="dstFilePath">Destination path and filename of the file on the server</param>
108 Task<bool> MoveFile(string srcFilePath, string dstFilePath); 107 Task<bool> MoveFile(string srcFilePath, string dstFilePath);
109 } 108 }
110 } -  
111   109 }
-   110