FileStore.Adapters.Null (file_store v0.3.0) View Source

Does not attempt to store files.

Example

iex> store = FileStore.Adapters.Null.new()
%FileStore.Adapters.Null{...}

iex> FileStore.write(store, "foo", "hello world")
:ok

iex> FileStore.read(store, "foo")
{:ok, "hello world"}

Link to this section Summary

Functions

Creates a new null adapter

Link to this section Functions

Specs

new(keyword()) :: FileStore.t()

Creates a new null adapter