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

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

// TODO(crbug/1382215): Include spec link.

enum FileSystemSyncAccessHandleMode {
  "readwrite",
  "read-only",
  "readwrite-unsafe",
  // TODO(crbug/1513463): Remove "in-place" option.
  "in-place",
};

dictionary FileSystemCreateSyncAccessHandleOptions {
  FileSystemSyncAccessHandleMode mode = "readwrite";
};