Skip to content

IFileWriteOptions

Latest
Compare
Choose a tag to compare
@dlebee dlebee released this 27 Oct 20:13
· 1 commit to master since this release

Writing options

This object to write files, will allow to offer some inheritance of the options being written.

In this initial release, it will offer the new option to specify an ACL for S3 Storages.

await space.WriteFileAsync(Encoding.UTF8.GetBytes("Hello World"), "hello-world.txt", new S3FileWriteOptions
{
    Acl = "public-read",
    OverrideIfExists = true
});