moby--moby/pkg/archive
Tobias Klauser 86f080cff0 Use Mkdev, Major and Minor functions from golang.org/x/sys/unix
Update golang.org/x/sys to 8dbc5d05d6edcc104950cc299a1ce6641235bc86 in
order to get the Major, Minor and Mkdev functions for every unix-like
OS. Use them instead of the locally defined versions which currently use
the Linux specific device major/minor encoding.

This means that the device number should now be properly encoded on e.g.
Darwin, FreeBSD or Solaris.

Also, the SIGUNUSED constant was removed from golang.org/x/sys/unix in
https://go-review.googlesource.com/61771 as it is also removed from the
respective glibc headers.

Remove it from signal.SignalMap as well after the golang.org/x/sys
re-vendoring.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-10-19 08:28:38 +02:00
..
testdata
README.md
archive.go pkg/package: remove promise package 2017-09-21 17:56:45 -07:00
archive_linux.go
archive_linux_test.go
archive_other.go
archive_test.go Add ineffassign linter 2017-09-08 18:23:21 -04:00
archive_unix.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
archive_unix_test.go Replacing os.Lstat with os.Stat to determine directory status in CopyInfoDestinationPath 2017-08-15 23:19:42 +00:00
archive_windows.go
archive_windows_test.go
changes.go archive: add ChownOpts support to TarWithOptions 2017-08-23 20:52:29 +02:00
changes_linux.go Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
changes_other.go
changes_posix_test.go
changes_test.go Merge pull request #31993 from dccurtis/issue-31816 2017-09-19 10:54:53 -07:00
changes_unix.go Add unconvert linter 2017-08-24 15:08:31 -04:00
changes_windows.go
copy.go Merge pull request #31993 from dccurtis/issue-31816 2017-09-19 10:54:53 -07:00
copy_unix.go
copy_unix_test.go
copy_windows.go
diff.go
diff_test.go
example_changes.go
time_linux.go
time_unsupported.go
utils_test.go
whiteouts.go
wrap.go
wrap_test.go

README.md

This code provides helper functions for dealing with archive files.