Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver resolves include paths for Thrift files. It provides a centralized, pure implementation that can be used by both CLI and LSP components.
func NewWithFS ¶
NewWithFS creates a Resolver that checks file existence through fsys. Absolute paths are looked up as-is; os.DirFS("/") reproduces the default filesystem behavior, and fstest.MapFS makes tests hermetic.
Click to show internal directories.
Click to hide internal directories.