protoutil

package
v2.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectFiles

func CollectFiles(path string) ([]string, error)

CollectFiles returns the .proto files at path. A single file is returned as-is; a directory is expanded to its direct .proto children.

func ResolveFiles

func ResolveFiles(importPaths, protoFiles []string) ([]string, error)

ResolveFiles converts absolute file paths to names relative to the parser's import paths. Relative names are kept as-is for compatibility with callers that resolve schemas from the current working directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL