containerd/fs/fstest/file_unix.go
Derek McGowan dfce91854e
Update travis to run make build
Ensure all packages can be built, even those not yet imported by binaries.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-31 13:35:03 -07:00

12 lines
234 B
Go

// +build !windows
package fstest
import "github.com/containerd/continuity/sysx"
func SetXAttr(name, key, value string) Applier {
return applyFn(func(root string) error {
return sysx.LSetxattr(name, key, []byte(value), 0)
})
}