Skip to content
Français

FileAttachResult

import type { FileAttachResult } from "@elie-laloum/outpost/core";
  • workspaceInfoRequired
    FileWorkspaceRecord
    Versioned workspace description retaining ownership, settled generation and recovery references.
  • directoryRequired
    string
    Absolute local materialization or source directory; it is not a portable resource identity.
  • statusRequired
    number
    Exit code of the process, 0 for success. A nonzero code still resolves the command, so check it.
  • stdoutRequired
    string
    Last retain characters of standard output. Empty when an interactive command without terminal streams used the host terminal on the local, Docker or Podman provider.
  • stderrRequired
    string
    Last retain characters of standard error. Empty in the same host-terminal case, and for a Daytona terminal, whose output is all in stdout.
export interface FileAttachResult extends CommandResult {
  readonly workspaceInfo: FileWorkspaceRecord;
  readonly directory: string;
}