• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1main: {
2  instruction_set: {
3    instructions: [
4      {
5        read_directory {
6          directory_name: "test_directory",
7          output: "file_list"
8        }
9      },
10      {
11        instruction_set {
12          instructions: [
13            {
14              open_file: {
15                input: "file_name",
16                output_fd: "file_fd"
17              }
18            },
19            {
20              read_file: {
21                input_fd: "file_fd"
22              }
23            },
24            {
25              close_file: {
26                input_fd: "file_fd"
27              }
28            }
29          ],
30          iterate_options: {
31            list_name: "file_list",
32            item_name: "file_name",
33            access_order: RANDOM
34          }
35        }
36      }
37    ]
38  }
39},
40global {}
41