Add GetEntryRootPath()

This commit is contained in:
2026-02-08 01:24:12 -05:00
parent 646be86ebd
commit 61b8576837
+8 -6
View File
@@ -69,14 +69,16 @@ func GetVanityPath(realPath *C.char) C.PascalString {
// versionNumber // versionNumber
// //
//export GetVersion //export GetVersion
func GetVersion() *C.char { func GetVersion() *C.char { return C.CString(global.LibmuttonVersion) }
return C.CString(global.LibmuttonVersion)
}
// GetSSHDirPath returns: // GetSSHDirPath returns:
// sshDirPath // sshDirPath
// //
//export GetSSHDirPath //export GetSSHDirPath
func GetSSHDirPath() C.PascalString { func GetSSHDirPath() C.PascalString { return getPascalString(global.SSHDir) }
return getPascalString(global.SSHDir)
} // GetEntryRootPath returns:
// entryRootPath
//
//export GetEntryRootPath
func GetEntryRootPath() C.PascalString { return getPascalString(global.EntryRoot) }