shared

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package shared provides utilities shared across project subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasLocalProjectConfig

func HasLocalProjectConfig(cfg config.Config, dir string) bool

HasLocalProjectConfig checks whether a project config file exists in dir.

It first checks the factory-constructed config's discovered layers (which covers registered projects via walk-up). If no layer is found under dir — e.g. because the project isn't registered yet — it constructs a temporary store with storage.WithDirs to probe the directory using the same dual-placement and extension rules as the storage engine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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