KuduClientVFSExtensions.

VFSDeleteDirectory(IKuduClient, DirectoryPath) Method

Summary

Deletes remote directory.

Syntax

public static void VFSDeleteDirectory(this IKuduClient client, DirectoryPath remotePath)

Examples

 #addin nuget:?package=Cake.Kudu.Client

 string  baseUri     = EnvironmentVariable("KUDU_CLIENT_BASEURI"),
         userName    = EnvironmentVariable("KUDU_CLIENT_USERNAME"),
         password    = EnvironmentVariable("KUDU_CLIENT_PASSWORD");

 IKuduClient kuduClient = KuduClient(
     baseUri,
     userName,
     password);

 DirectoryPath remoteDirectoryPath = "/site/wwwroot/hello/";

 kuduClient.VFSDeleteDirectory(remoteDirectoryPath);

Parameters

Name Type Description
client IKuduClient The Kudu client.
remotePath DirectoryPath The remote target path.

Return Value

Type Description
void