View Source edifa_generic (edifa v1.0.0)

Summary

Types

-type dd_options() :: #{count => pos_integer(), skip => pos_integer(), seek => pos_integer()}.

Functions

-spec cmd_cleanup(State :: term()) -> [edifa_exec:call_spec()].
Link to this function

cmd_dd(InoputFile, OutputFile, Options)

View Source
-spec cmd_dd(InoputFile :: string() | binary(),
             OutputFile :: string() | binary(),
             Options :: dd_options()) ->
                [edifa_exec:call_spec()].
-spec cmd_mkdir(DirPath :: string() | binary()) -> [edifa_exec:call_spec()].
-spec cmd_rm(Force :: boolean(), Path :: string() | binary()) -> [edifa_exec:call_spec()].
Link to this function

cmd_rm(Force, Recursive, Path)

View Source
-spec cmd_rm(Force :: boolean(), Recursive :: boolean(), Path :: string() | binary()) ->
                [edifa_exec:call_spec()].
Link to this function

create(State, Filename, Size, Opts)

View Source
Link to this function

extract(State, From, To, OutFilename, Opts)

View Source
Link to this function

with_temp_dir(State, Fun)

View Source
Link to this function

write(State, InFilename, Opts)

View Source