files

package
v0.111.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const (
	WunderGraphDirName = ".wundergraph"
)

Variables

This section is empty.

Functions

func CodeFilePath added in v0.100.0

func CodeFilePath(wundergraphDir, filename string) (string, error)

CodeFilePath returns the absolute path to the file and returns an error if the file does not exist.

func DirectoryExists

func DirectoryExists(path string) bool

func FileExists

func FileExists(filePath string) bool

func FindWunderGraphDir added in v0.100.0

func FindWunderGraphDir(wundergraphDir string) (string, error)

FindWunderGraphDir returns the absolute path to the .wundergraph directory. If the wundergraphDir can't be found we try to find it in the parent directory. If no directory is found we return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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