Chrome DevTools Protocol

Methods

FileSystem.getDirectory

parameters
bucketFileSystemLocator
BucketFileSystemLocator
Return Object
directory
Directory

Returns the directory object at the path.

Types

FileSystem.BucketFileSystemLocator

Type: object

properties
storageKey
Storage.SerializedStorageKey

Storage key

bucketName
string

Bucket name. Not passing a bucketName will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)

pathComponents
array[ string ]

Path to the directory using each path component as an array item.

FileSystem.Directory

Type: object

properties
name
string
nestedDirectories
array[ string ]
nestedFiles
array[ File ]

Files that are directly nested under this directory.

FileSystem.File

Type: object

properties
name
string
lastModified
Network.TimeSinceEpoch

Timestamp

size
number

Size in bytes

type
string