validate

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package verify checks whether the .context/ directory exists and contains the required set of context files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(dir string) bool

Exists checks whether a context directory exists.

If dir is empty, it uses the configured context directory.

Parameters:

  • dir: path to check, or empty string for default

Returns:

  • bool: true if the path exists and is a directory

func Initialized

func Initialized(contextDir string) bool

Initialized reports whether the context directory contains all required files.

Parameters:

  • contextDir: path to the .context/ directory

Returns:

  • bool: true if every required context file exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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