blob: 9e2f6c3dad7f16764e7d901387b32906ba490cd6 [file] [log] [blame] [edit]
[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/root_dir"
],
"infra_step": true,
"name": "ensure root_dir"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[START_DIR]/root_dir"
],
"infra_step": true,
"name": "listdir root_dir",
"~followup_annotations": [
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"some data",
"[START_DIR]/root_dir/some file"
],
"infra_step": true,
"name": "write some file"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[START_DIR]/root_dir"
],
"infra_step": true,
"name": "listdir root_dir (2)",
"~followup_annotations": [
"@@@STEP_LOG_LINE@listdir@[START_DIR]/root_dir/some file@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"jsonResult": null,
"name": "$result"
}
]