Skip to content

Add append() method to MicropythonFsHex #23

@microbit-carlos

Description

@microbit-carlos

append(filename: string, content: string): void {
if (!filename) {
throw new Error('Invalid filename.');
}
if (!this.exists(filename)) {
throw new Error(`File "${filename}" does not exist.`);
}
// TODO: Implement this.
throw new Error('Append operation not yet implemented.');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions