From 61b8576837a0c76c954ff5133d66570622fa1949 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 8 Feb 2026 01:24:12 -0500 Subject: [PATCH] Add GetEntryRootPath() --- global.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/global.go b/global.go index 03e171d..38bd967 100644 --- a/global.go +++ b/global.go @@ -69,14 +69,16 @@ func GetVanityPath(realPath *C.char) C.PascalString { // versionNumber // //export GetVersion -func GetVersion() *C.char { - return C.CString(global.LibmuttonVersion) -} +func GetVersion() *C.char { return C.CString(global.LibmuttonVersion) } // GetSSHDirPath returns: // sshDirPath // //export GetSSHDirPath -func GetSSHDirPath() C.PascalString { - return getPascalString(global.SSHDir) -} +func GetSSHDirPath() C.PascalString { return getPascalString(global.SSHDir) } + +// GetEntryRootPath returns: +// entryRootPath +// +//export GetEntryRootPath +func GetEntryRootPath() C.PascalString { return getPascalString(global.EntryRoot) }