mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-10-31 22:36:38 +00:00
Vincent Batts
08b1000418
The current Vis() and Unvis() are using the C implementation from MTREE(8). But that means that cgo is used, which is not always desired. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
11 lines
151 B
Go
11 lines
151 B
Go
// +build cgo,!govis
|
|
|
|
package mtree
|
|
|
|
import (
|
|
"github.com/vbatts/go-mtree/cvis"
|
|
)
|
|
|
|
func unvis(src string) (string, error) {
|
|
return cvis.Unvis(src)
|
|
}
|