feat(caddy): support renaming configuration files
This commit is contained in:
@@ -41,6 +41,14 @@ public interface ICaddyService
|
||||
/// <returns></returns>
|
||||
CaddyOperationResponse SaveCaddyGlobalConfiguration(string content);
|
||||
|
||||
/// <summary>
|
||||
/// Method to rename an existing Caddy configuration file
|
||||
/// </summary>
|
||||
/// <param name="oldFileName"></param>
|
||||
/// <param name="newFileName"></param>
|
||||
/// <returns></returns>
|
||||
CaddyOperationResponse RenameCaddyConfiguration(string oldFileName, string newFileName);
|
||||
|
||||
/// <summary>
|
||||
/// Method to delete the given Caddy configurations by name
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user