From 04c05c43a74b2b9ee5f7ac96a4662a154bebb896 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 11:33:27 +0100 Subject: [PATCH] ax(node): replace prose comment with usage example on NewNodeManagerWithPaths Co-Authored-By: Charon --- pkg/node/identity.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/node/identity.go b/pkg/node/identity.go index e5bd654..74f65d8 100644 --- a/pkg/node/identity.go +++ b/pkg/node/identity.go @@ -96,8 +96,8 @@ func NewNodeManager() (*NodeManager, error) { return NewNodeManagerWithPaths(keyPath, configPath) } -// NewNodeManagerWithPaths creates a NodeManager with custom paths. -// This is primarily useful for testing to avoid xdg path caching issues. +// manager, err := node.NewNodeManagerWithPaths("/tmp/test.key", "/tmp/test.json") +// if err != nil { return err } func NewNodeManagerWithPaths(keyPath, configPath string) (*NodeManager, error) { manager := &NodeManager{ keyPath: keyPath,