Update license headers to Modern Copy (C)

This commit is contained in:
Harshavardhana
2015-04-12 16:00:50 -07:00
parent 93c9011861
commit 8b811f6ac9
7 changed files with 90 additions and 7 deletions
+18 -1
View File
@@ -1,8 +1,25 @@
/*
* Modern Copy, (C) 2014, 2015 Minio, Inc.
*
* 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.
*/
package main
import (
. "github.com/minio-io/check"
"testing"
. "github.com/minio-io/check"
)
type MySuite struct{}
+20 -2
View File
@@ -1,10 +1,28 @@
/*
* Modern Copy, (C) 2014, 2015 Minio, Inc.
*
* 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.
*/
package main
import (
"github.com/cheggaaa/pb"
. "github.com/minio-io/check"
"strings"
"time"
"github.com/cheggaaa/pb"
. "github.com/minio-io/check"
)
var _ = Suite(&MySuite{})
+16
View File
@@ -1,3 +1,19 @@
/*
* Modern Copy, (C) 2014, 2015 Minio, Inc.
*
* 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.
*/
package main
import (
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* Minimalist Object Storage, (C) 2014, 2015 Minio, Inc.
* Modern Copy, (C) 2014, 2015 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
+17 -1
View File
@@ -1,3 +1,19 @@
/*
* Modern Copy, (C) 2014, 2015 Minio, Inc.
*
* 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.
*/
package main
import (
@@ -21,7 +37,7 @@ func intMax(x, y int) int {
return y
}
// printUpdateNotify -
// printUpdateNotify - inspired from Yeoman project npm package https://github.com/yeoman/update-notifier
func printUpdateNotify(latestVersion, currentVersion string) {
// TODO - make this configurable
//
+16
View File
@@ -1,3 +1,19 @@
/*
* Modern Copy, (C) 2015 Minio, Inc.
*
* 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.
*/
package client
import "strconv"
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Minimalist Object Storage, (C) 2015 Minio, Inc.
* Modern Copy, (C) 2015 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fs except in compliance with the License.
@@ -30,7 +30,7 @@ type MySuite struct{}
var _ = Suite(&MySuite{})
// TODO - implement these steps
// TODO - implement these
func (s *MySuite) TestListBuckets(c *C) {
root, err := ioutil.TempDir(os.TempDir(), "fs-")