diff --git a/aliases_test.go b/aliases_test.go index e6077fbf..b95cb276 100644 --- a/aliases_test.go +++ b/aliases_test.go @@ -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{} diff --git a/cmd-common_test.go b/cmd-common_test.go index bec45c3f..77cc252c 100644 --- a/cmd-common_test.go +++ b/cmd-common_test.go @@ -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{}) diff --git a/cmd-config.go b/cmd-config.go index ddb60dd4..463912cf 100644 --- a/cmd-config.go +++ b/cmd-config.go @@ -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 ( diff --git a/cmd-config_test.go b/cmd-config_test.go index 775d21a5..983a5edc 100644 --- a/cmd-config_test.go +++ b/cmd-config_test.go @@ -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. diff --git a/notifier.go b/notifier.go index bab814e3..002469e2 100644 --- a/notifier.go +++ b/notifier.go @@ -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 // diff --git a/pkg/client/errors.go b/pkg/client/errors.go index 52213d75..d8a6a758 100644 --- a/pkg/client/errors.go +++ b/pkg/client/errors.go @@ -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" diff --git a/pkg/client/fs/fs_test.go b/pkg/client/fs/fs_test.go index 2a83574f..9cb5ed1b 100644 --- a/pkg/client/fs/fs_test.go +++ b/pkg/client/fs/fs_test.go @@ -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-")