View Source Modkit.Mount.Point (modkit v0.2.6)

Link to this section Summary

Link to this section Types

@type flavor() :: :mix_task | :phoenix | :elixir
@type path_spec() :: binary() | {flavor(), binary()}
@type point_spec() :: {module(), path_spec()}
@type t() :: %Modkit.Mount.Point{
  flavor: flavor(),
  path: binary(),
  prefix: module(),
  splitfix: [binary()]
}

Link to this section Functions

@spec new(point_spec()) :: t()
Link to this function

new(prefix, flavor, path)

View Source
@spec new(prefix :: module(), flavor(), path :: binary()) :: t()
Link to this function

prefix_of?(point, modsplit)

View Source
@spec prefix_of?(t(), [binary()]) :: boolean()