Mirror

tcmts.cli.mirror.Mirror · #jm5hob2w · type

import type { MirrorFile } from "#codebase/tcmts/cli/mirror";

export interface Mirror {
  /** the mirrored directory (absolute) */
  dir: string;
  into: string;
  tests: boolean;
  exclude: string[];
  /** the name log as of the last sync: later entries say which changes left code's text alone */
  log: number;
  /** by path relative to `dir` */
  files: Record<string, MirrorFile>;
  /** the branch whose names the files are: sessions on other branches (`TCM_BRANCH`) leave them alone */
  branch: string;
}

uses

used by