mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-25 17:45:39 +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>
7 lines
218 B
Go
7 lines
218 B
Go
package mtree
|
|
|
|
// Unvis is a wrapper for the C implementation of unvis, which decodes a string
|
|
// that potentially has characters that are encoded with Vis
|
|
func Unvis(src string) (string, error) {
|
|
return unvis(src)
|
|
}
|