nixd
Loading...
Searching...
No Matches
PathResolve.h File Reference

Shared path resolution utilities for Nix path literals. More...

#include "lspserver/Logger.h"
#include <filesystem>
#include <optional>
#include <string>

Go to the source code of this file.

Namespaces

namespace  nixd

Functions

std::optional< std::string > nixd::resolveExprPath (const std::string &BasePath, const std::string &ExprPath)
 Resolve a Nix expression path to a real filesystem path.

Detailed Description

Shared path resolution utilities for Nix path literals.

This module provides unified path resolution logic used by both DocumentLink and Go-to-Definition features.

Definition in file PathResolve.h.