chromium/third_party/blink/renderer/modules/file_system_access/file_system_create_writable_options.idl

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://fs.spec.whatwg.org/#dictdef-filesystemcreatewritableoptions
enum FileSystemWritableFileStreamMode {
  "exclusive",
  "siloed",
};

dictionary FileSystemCreateWritableOptions {
  boolean keepExistingData = false;
  [RuntimeEnabled=FileSystemAccessAPIExperimental] boolean autoClose = false;
  [
    RuntimeEnabled=FileSystemAccessLockingScheme
  ] FileSystemWritableFileStreamMode mode = "siloed";
};