Interface for file operation result. Represents the outcome of a file operation such as writing a config file or creating a text file.

FileOperationResult

interface FileOperationResult {
    error?: Error;
    path: string;
    success: boolean;
}

Properties

Properties

error?: Error

Error object if the operation failed

path: string

The file path where the operation was performed

success: boolean

Whether the operation was successful