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
174 B
Go
11 lines
174 B
Go
// +build cgo,!govis
|
|
|
|
package mtree
|
|
|
|
import (
|
|
"github.com/vbatts/go-mtree/cvis"
|
|
)
|
|
|
|
func vis(src string, flags VisFlag) (string, error) {
|
|
return cvis.Vis(src, int(flags))
|
|
}
|