Methods

Chrome DevTools

FileSystem.getDirectory #

Parameters

bucketFileSystemLocator

Return object

directory
Directory

Returns the directory object at the path.

Types

Chrome DevTools

FileSystem.BucketFileSystemLocator #

Type: object

Properties

storageKey
bucketName
Optional
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.


Chrome DevTools

FileSystem.Directory #

Type: object

Properties

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

Files that are directly nested under this directory.


Chrome DevTools

FileSystem.File #

Type: object

Properties

name
string
lastModified
size
number

Size in bytes

type
string