-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also removed method env.Path(), if you need it please help me to fix it by PR, thank you
- Loading branch information
1 parent
f075c7f
commit 381b931
Showing
17 changed files
with
31,612 additions
and
21,460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//go:build !windows | ||
// +build !windows | ||
|
||
package mdbx | ||
|
||
/* | ||
#include "mdbxgo.h" | ||
*/ | ||
import "C" | ||
|
||
//TODO: fix me please | ||
|
||
// Path returns the path argument passed to Open. Path returns a non-nil error | ||
// if env.Open() was not previously called. | ||
// | ||
// See mdbx_env_get_path. | ||
//func (env *Env) Path() (string, error) { | ||
// var cpath *C.char | ||
// ret := C.mdbx_env_get_path(env._env, &cpath) | ||
// if ret != success { | ||
// return "", operrno("mdbx_env_get_path", ret) | ||
// } | ||
// if cpath == nil { | ||
// return "", errNotOpen | ||
// } | ||
// return C.GoString(cpath), nil | ||
//} |
Oops, something went wrong.