View Source Sitemapper.Store behaviour (Sitemapper v0.8.0)

Store behaviour

Summary

Callbacks

Stores file with a part of sitemap into storage

Callbacks

Link to this callback

write(filename, body, config)

View Source
@callback write(filename :: String.t(), body :: IO.chardata(), config :: Keyword.t()) ::
  :ok | {:error, atom()}

Stores file with a part of sitemap into storage