gleamdoc/index
Local package-interface indexing and source-location discovery.
Values
pub fn package_interface_paths(
dependencies: Bool,
package: String,
refresh: Bool,
) -> Result(List(String), String)
Returns package-interface cache paths, refreshing them when requested.
pub fn source_location(
package: String,
module: String,
kind: String,
name: String,
) -> String
Returns the source path and declaration line for an indexed entry.
An empty string is returned when source metadata is unavailable. Source locations are supplementary and do not make an otherwise valid lookup fail.