Depot.Visibility.UnixVisibilityConverter behaviour (Depot v0.5.2) View Source

Visibility converter behaviour for unix based systems.

Link to this section Summary

Link to this section Types

Specs

config() :: struct()

Specs

permission() :: non_neg_integer()

Specs

t() :: module()

Link to this section Callbacks

Specs

config(keyword()) :: config()
Link to this callback

for_directory(config, t)

View Source

Specs

for_directory(config(), Depot.Visibility.t()) :: {:ok, permission()} | :error

Specs

for_file(config(), Depot.Visibility.t()) :: {:ok, permission()} | :error
Link to this callback

from_directory(config, permission)

View Source

Specs

from_directory(config(), permission()) :: Depot.Visibility.t()
Link to this callback

from_file(config, permission)

View Source

Specs

from_file(config(), permission()) :: Depot.Visibility.t()