kkazuo / dart-azblob

ISC License
8 stars 6 forks source link

Delete #4

Closed GabeDiamond closed 2 years ago

GabeDiamond commented 2 years ago

Thank you very much for creating this package! It's been very helpful to me. I recently found myself needing functionality to delete a file within azure blob storage. I implemented this with the following:

Future<http.StreamedResponse> deleteBlob(String path) async {
    var request = http.Request('DELETE', uri(path: path));
    sign(request);
    return request.send();
  }

Please let me know if you find this helpful and would like to add this, or would like a pull request for it.

kkazuo commented 2 years ago

hi @GabeDiamond , it looks good to me. and pull requests are welcome! thank you

GabeDiamond commented 2 years ago

Great! I put in a pull request. This is actually my first open source pull request, so please let me know if I didn't do it correctly.

kkazuo commented 2 years ago

It looks good. I'll upload a new version to pub.dev. Thank you.