API Reference
GoogleDriveFileSystem
Implements IFileSystem using the Google Drive API.
Constructor
new GoogleDriveFileSystem(options: GoogleDriveFileSystemOptions)Options
| Option | Type | Description |
|---|---|---|
accessToken | string | OAuth2 access token |
rootFolderId | string? | Root folder ID (default: "root") |
Methods
Implements all IFileSystem methods: readFile, writeFile, readDir, stat, mkdir, rm, exists.