Workspace.Topology (Workspace v0.2.1)

View Source

Helper utilities related to the workspace's topology.

Summary

Functions

Returns the project the file belongs to, or nil in case of error.

Functions

parent_project(workspace, path)

@spec parent_project(workspace :: Workspace.State.t(), path :: Path.t()) ::
  Workspace.Project.t() | nil

Returns the project the file belongs to, or nil in case of error.