HostKit.Resources.Directory (host_kit v0.1.0-beta.1)

Copy Markdown View Source

Desired directory with ownership and mode.

Summary

Types

t()

@type t() :: %HostKit.Resources.Directory{
  depends_on: [term()],
  group: String.t() | nil,
  meta: map(),
  mode: non_neg_integer() | nil,
  owner: String.t() | nil,
  path: String.t(),
  rollback: :keep | :delete_if_created
}

Functions

id(directory)

new(path, opts \\ [])

@spec new(
  String.t(),
  keyword()
) :: t()