files

package
v0.94.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const WunderGraphDir = ".wundergraph"

Variables

This section is empty.

Functions

func DirectoryExists

func DirectoryExists(path string) bool

func FileExists

func FileExists(filePath string) bool

Types

type WunderGraphEntryPoints added in v0.94.3

type WunderGraphEntryPoints struct {
	Error               error
	WunderGraphDirAbs   string
	ServerEntryPointAbs string
	ConfigEntryPointAbs string
}

func GetWunderGraphEntryPoints added in v0.94.3

func GetWunderGraphEntryPoints(wundergraphDir, configEntryPointFilename, serverEntryPointFilename string) (*WunderGraphEntryPoints, error)

GetWunderGraphEntryPoints validates and resolves all code entry points and base directory to build a WunderGraph. If a file or directory can't be found an error is returned. ServerEntryPoint existence is optional.

Jump to

Keyboard shortcuts

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