Description

Before using anything in this namespace, make sure to import LensStudio:FileSystem and add filesystem in your plugin's module.json.

Example

// module.json
{
"main": "main.js",
"permissions": ["filesystem"]
}
// main.js
import * as fs from 'LensStudio:FileSystem';
let s = fs.readFile(new Editor.Path(import.meta.resolve('ellipsis.txt')));

Index

Namespaces

Interfaces

Functions

Generated using TypeDoc