Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #474 from jonboulle/cleanup
Browse files Browse the repository at this point in the history
ace: add missing license header
  • Loading branch information
philips committed Aug 9, 2015
2 parents e2073b6 + 8d08159 commit 90759ef
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
14 changes: 14 additions & 0 deletions ace/os_default.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2015 The appc Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !linux
// +build !freebsd

Expand Down
18 changes: 17 additions & 1 deletion ace/os_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
// Copyright 2015 The appc Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build freebsd

package main

import "syscall"
import (
"syscall"
)

func isSameFilesystem(a, b *syscall.Statfs_t) bool {
if a.Fsid != (syscall.Fsid{}) || b.Fsid != (syscall.Fsid{}) {
Expand Down
14 changes: 14 additions & 0 deletions ace/os_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2015 The appc Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package main
Expand Down

0 comments on commit 90759ef

Please sign in to comment.