MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / mode

Function mode

ts/workflow-cli/cli/deploy/write.test.ts:59–59  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

57const names = async (dir: string) => (await fs.readdir(dir)).sort();
58const mode = async (file: string) => (await fs.stat(file)).mode & 0o777;
59
60// The written-file artifacts (writeOutput's return value). The on-disk bundle also
61// has a "workspaces" dir (pre-created bind-mount dirs), which is not a written file.
62const BUNDLE = ["README.md", "deployment-spec.json", "docker-compose.yml", "engine-config.json", "engine.env"].sort();

Callers 1

write.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected