View Source Workspace.Topology (Workspace v0.1.0)

Helper utilities related to the workspace's topology.

Summary

Functions

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

Functions

Link to this function

parent_project(workspace, path)

View Source
@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.