file_system v0.2.9 FileSystem.Backend behaviour View Source
FileSystem Backend Behaviour.
Link to this section Summary
Functions
Get and validate backend module, return {:ok, backend_module}
when success and
return {:error, reason}
when fail.
When nil
is given, will return default backend by os.
When a custom module is given, make sure start_link/1
, bootstrap/0
and
supported_system/0
are defnied.
Link to this section Functions
Get and validate backend module, return {:ok, backend_module}
when success and
return {:error, reason}
when fail.
When nil
is given, will return default backend by os.
When a custom module is given, make sure start_link/1
, bootstrap/0
and
supported_system/0
are defnied.