Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Macmod/godap
/ dnPartToDomainName
Function
dnPartToDomainName
tui/tree.go:824–826 ·
view source on GitHub ↗
(dn string)
Source
from the content-addressed store, hash-verified
822
}
823
824
func
dnPartToDomainName(dn string) string {
825
return
strings.TrimPrefix(strings.ReplaceAll(dn,
",DC="
,
"."
),
"DC="
)
826
}
827
828
func
getNodeName(entry *ldap.Entry) string {
829
if
entry.DN ==
""
{
Callers
1
getNodeName
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected