返回 DeepSeek-Reasonix
paths.go
根目录 / internal / remote / paths.go
1 package remote
2
3 import "reasonix/internal/config"
4
5 // defaultManagedKnownHosts is the Reasonix-managed known_hosts path. It is a
6 // thin indirection over config so tests can leave HostKeyPolicy.ManagedPath
7 // empty and still get an isolated file under REASONIX_HOME.
8 func defaultManagedKnownHosts() string {
9 return config.RemoteKnownHostsPath()
10 }
11
11 lines GO