From 0449e85ca5aeab99928c3729c657aaa403fb784b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 7 Jan 2013 12:54:49 -0800 Subject: [PATCH] add license and copyright --- LICENSE.txt | 23 +++++++++++++++++++++++ cmd/gotail/gotail.go | 2 ++ tail.go | 2 ++ tail_test.go | 2 ++ watch.go | 2 ++ 5 files changed, 31 insertions(+) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..ea07fde --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,23 @@ +# This is the MIT license + +# Copyright (c) 2013 ActiveState Software Inc. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/cmd/gotail/gotail.go b/cmd/gotail/gotail.go index 7004936..c204e32 100644 --- a/cmd/gotail/gotail.go +++ b/cmd/gotail/gotail.go @@ -1,3 +1,5 @@ +// Copyright (c) 2013 ActiveState Software Inc. All rights reserved. + package main import ( diff --git a/tail.go b/tail.go index 1d69be1..c4ecd54 100644 --- a/tail.go +++ b/tail.go @@ -1,3 +1,5 @@ +// Copyright (c) 2013 ActiveState Software Inc. All rights reserved. + package tail import ( diff --git a/tail_test.go b/tail_test.go index 186a0a3..c6cf53b 100644 --- a/tail_test.go +++ b/tail_test.go @@ -1,3 +1,5 @@ +// Copyright (c) 2013 ActiveState Software Inc. All rights reserved. + // TODO: // * repeat all the tests with Poll:true diff --git a/watch.go b/watch.go index 4e6f30e..fbb7568 100644 --- a/watch.go +++ b/watch.go @@ -1,3 +1,5 @@ +// Copyright (c) 2013 ActiveState Software Inc. All rights reserved. + // TODO: avoid creating two instances of the fsnotify.Watcher struct package tail