# Interface: `IEmscriptenNodeOps` [@jupyterlite/contents](../modules/jupyterlite_contents.md).IEmscriptenNodeOps ## Implemented by - [`DriveFSEmscriptenNodeOps`](../classes/jupyterlite_contents.DriveFSEmscriptenNodeOps.md) ## Methods ### `getattr` > > **`getattr`**(`node`): [`IStats`](jupyterlite_contents.IStats.md) #### Parameters | Name | Type | | :------ | :------ | | `node` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | #### Returns [`IStats`](jupyterlite_contents.IStats.md) #### Defined in [packages/contents/src/emscripten.ts:67](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L67) ### `lookup` > > **`lookup`**(`parent`, `name`): [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) #### Parameters | Name | Type | | :------ | :------ | | `parent` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `name` | `string` | #### Returns [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) #### Defined in [packages/contents/src/emscripten.ts:69](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L69) ### `mknod` > > **`mknod`**(`parent`, `name`, `mode`, `dev`): [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) #### Parameters | Name | Type | | :------ | :------ | | `parent` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `name` | `string` | | `mode` | `number` | | `dev` | `number` | #### Returns [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) #### Defined in [packages/contents/src/emscripten.ts:73](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L73) ### `readdir` > > **`readdir`**(`node`): `string`[] #### Parameters | Name | Type | | :------ | :------ | | `node` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | #### Returns `string`[] #### Defined in [packages/contents/src/emscripten.ts:86](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L86) ### `readlink` > > **`readlink`**(`node`): `string` #### Parameters | Name | Type | | :------ | :------ | | `node` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | #### Returns `string` #### Defined in [packages/contents/src/emscripten.ts:92](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L92) ### `rename` > > **`rename`**(`oldNode`, `newDir`, `newName`): `void` #### Parameters | Name | Type | | :------ | :------ | | `oldNode` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `newDir` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `newName` | `string` | #### Returns `void` #### Defined in [packages/contents/src/emscripten.ts:79](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L79) ### `rmdir` > > **`rmdir`**(`parent`, `name`): `void` #### Parameters | Name | Type | | :------ | :------ | | `parent` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `name` | `string` | #### Returns `void` #### Defined in [packages/contents/src/emscripten.ts:85](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L85) ### `setattr` > > **`setattr`**(`node`, `attr`): `void` #### Parameters | Name | Type | | :------ | :------ | | `node` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `attr` | [`IStats`](jupyterlite_contents.IStats.md) | #### Returns `void` #### Defined in [packages/contents/src/emscripten.ts:68](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L68) ### `symlink` > > **`symlink`**(`parent`, `newName`, `oldPath`): `void` #### Parameters | Name | Type | | :------ | :------ | | `parent` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `newName` | `string` | | `oldPath` | `string` | #### Returns `void` #### Defined in [packages/contents/src/emscripten.ts:87](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L87) ### `unlink` > > **`unlink`**(`parent`, `name`): `void` #### Parameters | Name | Type | | :------ | :------ | | `parent` | [`IEmscriptenFSNode`](jupyterlite_contents.IEmscriptenFSNode.md) \| [`IEmscriptenStream`](jupyterlite_contents.IEmscriptenStream.md) | | `name` | `string` | #### Returns `void` #### Defined in [packages/contents/src/emscripten.ts:84](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/contents/src/emscripten.ts#L84)