Files
fn_registry/functions/shell/which.go
T
egutierrez 4808e16629 fix: stubs shell y tui usan tipos nativos en firmas en vez de Result/Option de core
Result[T] y Option[T] de core no son accesibles desde otros paquetes sin import.
Cambiado a (T, error) y (T, bool) siguiendo la regla de tipos nativos en firmas.
Añadidas dependencias bubbletea/bubbles/lipgloss al go.mod raíz para que tui compile.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 23:23:06 +01:00

10 lines
289 B
Go

package shell
// Implementation: github.com/lucasdataproyects/devfactory/shell
// Which busca la ruta de un ejecutable en el PATH del sistema. Devuelve ("", false) si no existe.
func Which(name string) (string, bool) {
// stub — implementation in devfactory/shell
return "", false
}