WebUI X Documentation
    Preparing search index...

    Interface FileOutputInterface

    Interface for file output operations, providing methods to open files for writing. Implementations should return a FileOutputInterfaceStream for file manipulation.

    interface FileOutputInterface {
        open(path: string, append: boolean): FileOutputInterfaceStream;
        open(path: string): FileOutputInterfaceStream;
    }
    Index

    Methods

    Methods

    • Opens a file at the specified path for output. If append is true, data will be appended to the file; otherwise, the file will be overwritten.

      Parameters

      • path: string

        The path to the file to open.

      • append: boolean

        Whether to append to the file (true) or overwrite it (false).

      Returns FileOutputInterfaceStream

      A FileOutputInterfaceStream for writing to the file.

    • Opens a file at the specified path for output. The default behavior for appending or overwriting is implementation-dependent.

      Parameters

      • path: string

        The path to the file to open.

      Returns FileOutputInterfaceStream

      A FileOutputInterfaceStream for writing to the file.