Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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