agent/pkg/agentic/paths_example_test.go

38 lines
620 B
Go
Raw Normal View History

// SPDX-License-Identifier: EUPL-1.2
package agentic
import (
core "dappco.re/go/core"
)
func ExampleWorkspaceRoot() {
root := WorkspaceRoot()
core.Println(core.HasSuffix(root, "workspace"))
// Output: true
}
func ExampleCoreRoot() {
root := CoreRoot()
core.Println(core.HasSuffix(root, ".core"))
// Output: true
}
func ExamplePlansRoot() {
root := PlansRoot()
core.Println(core.HasSuffix(root, "plans"))
// Output: true
}
func ExampleAgentName() {
name := AgentName()
core.Println(name != "")
// Output: true
}
func ExampleGitHubOrg() {
org := GitHubOrg()
core.Println(org)
// Output: dAppCore
}