Typed immutable result of one scheduled file-tree filter scan.
Summary
Functions
Builds a filesystem-backed filter result.
Builds a project-cache-backed filter result with final materialized entries.
Types
@type source() :: :filesystem | :project_cache
@type t() :: %MingaEditor.FileTree.FilterWalk.Result{ entries: [Minga.Project.FileTree.entry()], filter: String.t(), project_cache: MingaEditor.FileTree.ProjectCache.Snapshot.t() | nil, root: String.t(), source: source() }
Functions
@spec filesystem(String.t(), String.t(), [Minga.Project.FileTree.entry()]) :: t()
Builds a filesystem-backed filter result.
@spec project_cache( String.t(), String.t(), [Minga.Project.FileTree.entry()], MingaEditor.FileTree.ProjectCache.Snapshot.t() ) :: t()
Builds a project-cache-backed filter result with final materialized entries.