export async function azFileDelete()

in src/shared.ts [42:57]


export async function azFileDelete(
    workspaceName: string,
    storageAccountName: string,
    storageAccountKey: string,
    fileShareName: string,
    localFileUri: string): Promise<void> {

    const fs = azureStorage.createFileService(storageAccountName, storageAccountKey);
    const cf = new CloudFile(
        workspaceName,
        fileShareName,
        localFileUri,
        FileSystem.local);

    await deleteFile(cf, fs);
}