mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove *_solaris.go files
Support for GOOS=solaris was removed in PR #35373. Remove two leftover *_solaris.go files missed in this PR. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This commit is contained in:
parent
339dd0a2e5
commit
6751718196
2 changed files with 0 additions and 27 deletions
|
@ -1,14 +0,0 @@
|
|||
package kernel // import "github.com/docker/docker/pkg/parsers/kernel"
|
||||
|
||||
import (
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func uname() (*unix.Utsname, error) {
|
||||
uts := &unix.Utsname{}
|
||||
|
||||
if err := unix.Uname(uts); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return uts, nil
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package system // import "github.com/docker/docker/pkg/system"
|
||||
|
||||
import "syscall"
|
||||
|
||||
// fromStatT converts a syscall.Stat_t type to a system.Stat_t type
|
||||
func fromStatT(s *syscall.Stat_t) (*StatT, error) {
|
||||
return &StatT{size: s.Size,
|
||||
mode: uint32(s.Mode),
|
||||
uid: s.Uid,
|
||||
gid: s.Gid,
|
||||
rdev: uint64(s.Rdev),
|
||||
mtim: s.Mtim}, nil
|
||||
}
|
Loading…
Reference in a new issue