# `locus_filesystem_store`
[🔗](https://github.com/g-andrade/locus/blob/2.3.15/src/locus_filesystem_store.erl#L24)

Stores a file in the filesystem without blocking the caller.

# `msg`

```erlang
-type msg() :: {finished, success} | {finished, {error, term()}}.
```

# `path`

```erlang
-type path() :: file:filename_all().
```

# `state`

```erlang
-opaque state()
```

# `code_change`

```erlang
-spec code_change(term(), state(), term()) -> {ok, state()}.
```

# `handle_call`

```erlang
-spec handle_call(term(), {pid(), reference()}, state()) -> {stop, unexpected_call, state()}.
```

# `handle_cast`

```erlang
-spec handle_cast(term(), state()) -> {stop, unexpected_cast, state()}.
```

# `handle_info`

```erlang
-spec handle_info(term(), state()) -> {stop, normal, state()} | {stop, unexpected_info, state()}.
```

# `init`

```erlang
-spec init([InitArg, ...]) -> {ok, state()}
              when
                  InitArg :: OwnerPid | Path | Content | ModificationDT,
                  OwnerPid :: pid(),
                  Path :: path(),
                  Content :: iodata(),
                  ModificationDT :: calendar:datetime().
```

# `start_link`

```erlang
-spec start_link(path(), iodata(), calendar:datetime()) -> {ok, pid()}.
```

# `terminate`

```erlang
-spec terminate(term(), state()) -> ok.
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
