Skip to content

Commit

Permalink
add alias to unsupported (#63)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Barz <mbarz@owncloud.com>
  • Loading branch information
micbar authored Feb 16, 2022
1 parent 492d80d commit 3698607
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xattr_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
//go:build !linux && !freebsd && !netbsd && !darwin && !solaris
// +build !linux,!freebsd,!netbsd,!darwin,!solaris

package xattr

import (
"os"
"syscall"
)

const (
// We need to use the default for non supported operating systems
ENOATTR = syscall.ENODATA
)

// XATTR_SUPPORTED will be true if the current platform is supported
Expand Down

0 comments on commit 3698607

Please sign in to comment.