Dir

Dir typed values are a filesystem directory entry.

Dirs...

  • are mutable, i.e. making changes to a directory results in the directory being changed everywhere it's referenced.
  • can be passed in/out of ops via dir parameters.
  • are not coercible to any other type.

Entry Referencing

Dir entries (child files/directories) can be referenced via $(ROOT/ENTRY) syntax.

Entry Referencing Example (embedded)

given:

  • /file1.json is embedded in op
$(/file1.json)

Entry Referencing Example (scope)

given:

  • someDir
    • is in scope dir
    • contains file2.txt
$(someDir/file2.txt)
Last updated on by Chris Dostert