Skip to content

core.vexecutor #

fn execute_large #

fn execute_large(cmd string) Result

fn execute_large_or_panic #

fn execute_large_or_panic(cmd string) Result

fn new_executor #

fn new_executor(initial_file_path_ string, execution_file_path_ string, final_file_path_ string) !VExecutor

Creates a new executor object ARGS: path string - /directory/filename.v cat Category - unknown, file, dir, linkdir, linkfile (enum) exist UYN - unknown, yes, no (enum)

fn (VExecutor) add_dir_to_end #

fn (mut v_executor VExecutor) add_dir_to_end(directory_path_ string) !

Adds all the top level files in a directory to the VExecutor.actions list ARGS: directory_path string

fn (VExecutor) compile #

fn (mut v_executor VExecutor) compile() !

combine all actions in VExecutor into one file

fn (VExecutor) do #

fn (mut v_executor VExecutor) do() !

Executes the file

fn (VExecutor) info #

fn (mut v_executor VExecutor) info()

prints out all the file paths accessed

fn (VExecutor) clean #

fn (mut v_executor VExecutor) clean() !

Cleans up VExecutors impact on the file system