Gitility.Submodule (Gitility v0.3.0)

Copy Markdown View Source

Metadata correlating one snapshot gitlink with its .gitmodules declaration.

Paths, names, URLs, and branches remain raw bytes. Declaration paths are inert correlation values and are never used for filesystem access. Gitility never resolves url, follows config includes, opens commit_oid, or traverses into a submodule. An :undeclared row has no declaration metadata; an :orphaned row has no pinned gitlink commit.

Summary

Types

How the declaration and snapshot tree correlate.

t()

Types

status()

@type status() :: :active | :undeclared | :orphaned

How the declaration and snapshot tree correlate.

t()

@type t() :: %Gitility.Submodule{
  branch: binary() | nil,
  commit_oid: Gitility.OID.t() | nil,
  name: binary() | nil,
  path: binary(),
  status: status(),
  url: binary() | nil
}