Skip to content
Français

FileManifestEntry

import type { FileManifestEntry } from "@elie-laloum/outpost";
  • pathRequired
    string
    Relative path of this file or symbolic link within the transferred tree.
  • kindRequired
    "file" | "link"
    Whether this manifest entry contains regular file bytes or a symbolic link target.
  • modeRequired
    number
    Filesystem permission bits to preserve during transfer.
  • sizeRequired
    number
    Byte size of the file contents or link target described by the manifest.
  • sha256Required
    string
    SHA-256 digest used to verify the transferred file or link contents.
export interface FileManifestEntry {
  readonly path: string;
  readonly kind: "file" | "link";
  readonly mode: number;
  readonly size: number;
  readonly sha256: string;
}