Skip to content

IROMFileSystem ​

Interface for a file system on a flashcart.

Kind: Interface

Namespace: ConnectorLib

Inheritance: IROMProcessor

Public Member Functions

abstract virtual

Task>

Connect()

Connects to the remote file system.

abstract virtual

Task

Disconnect(string message)

Disconnects from the remote file system.

abstract virtual

bool

MakeDir(string remotePath)

Creates a directory on the remote file system.

abstract virtual

bool

Remove(string remotePath)

Removes a directory on the remote file system.

abstract virtual

bool

Rename(string oldPath, string newPath)

Renames a file or directory on the remote file system.

abstract virtual

bool

BootROM(string remotePath)

Boots a ROM on the the remote file system.

abstract virtual

bool

List(string remotePath, ValueTuple[] out files)

Lists the files in a directory on the remote file system.

abstract virtual

bool

GetFile(string remotePath, byte[] out data)

Gets a file from the remote file system.

abstract virtual

bool

PutFile(string remotePath, byte[] data)

Uploads a file to the remote file system.

abstract virtual

bool

PutFile(string remotePath, string localPath)

Uploads a file to the remote file system.

abstract virtual

bool

FileExists(string remotePath)

Checks if a file exists on the remote file system.

abstract virtual

bool

Info(object out info)

Retrieves information about the file remote device.

Properties

bool

Connected

[get, ]

true if the file system is connected; otherwise, false.