diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-10-01 17:35:06 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-01 17:35:06 +0200 |
commit | b08b53b056149ef8915a63d52ac189739e6ee185 (patch) | |
tree | fcc60119592c03d2512d1a597e09497f005f89d6 /libimagref | |
parent | b34eb838e056160e0f461685386892cc0ea6f3d1 (diff) |
libimagref: Add copyright notice to all files
Diffstat (limited to 'libimagref')
-rw-r--r-- | libimagref/src/error.rs | 19 | ||||
-rw-r--r-- | libimagref/src/flags.rs | 19 | ||||
-rw-r--r-- | libimagref/src/hasher.rs | 19 | ||||
-rw-r--r-- | libimagref/src/hashers/mod.rs | 19 | ||||
-rw-r--r-- | libimagref/src/hashers/nbytes.rs | 19 | ||||
-rw-r--r-- | libimagref/src/lib.rs | 19 | ||||
-rw-r--r-- | libimagref/src/lister.rs | 19 | ||||
-rw-r--r-- | libimagref/src/reference.rs | 19 | ||||
-rw-r--r-- | libimagref/src/result.rs | 19 |
9 files changed, 171 insertions, 0 deletions
diff --git a/libimagref/src/error.rs b/libimagref/src/error.rs index b0aaacf3..b1e5e2c5 100644 --- a/libimagref/src/error.rs +++ b/libimagref/src/error.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + generate_error_module!( generate_error_types!(RefError, RefErrorKind, StoreReadError => "Store read error", diff --git a/libimagref/src/flags.rs b/libimagref/src/flags.rs index 00bfcf2b..11cd838d 100644 --- a/libimagref/src/flags.rs +++ b/libimagref/src/flags.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use std::collections::BTreeMap; use toml::Value; diff --git a/libimagref/src/hasher.rs b/libimagref/src/hasher.rs index fcdda5bd..d29502d2 100644 --- a/libimagref/src/hasher.rs +++ b/libimagref/src/hasher.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use std::path::PathBuf; use std::io::Read; diff --git a/libimagref/src/hashers/mod.rs b/libimagref/src/hashers/mod.rs index c5c49799..eaa8de3f 100644 --- a/libimagref/src/hashers/mod.rs +++ b/libimagref/src/hashers/mod.rs @@ -1 +1,20 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + pub mod nbytes; diff --git a/libimagref/src/hashers/nbytes.rs b/libimagref/src/hashers/nbytes.rs index 66af0297..995e3dd8 100644 --- a/libimagref/src/hashers/nbytes.rs +++ b/libimagref/src/hashers/nbytes.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use std::io::Read; use std::path::PathBuf; use std::result::Result as RResult; diff --git a/libimagref/src/lib.rs b/libimagref/src/lib.rs index fb4814c9..402eac27 100644 --- a/libimagref/src/lib.rs +++ b/libimagref/src/lib.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + #![deny( non_camel_case_types, non_snake_case, diff --git a/libimagref/src/lister.rs b/libimagref/src/lister.rs index 979984a2..326a764f 100644 --- a/libimagref/src/lister.rs +++ b/libimagref/src/lister.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use std::default::Default; use std::io::stdout; use std::io::Write; diff --git a/libimagref/src/reference.rs b/libimagref/src/reference.rs index 15a89734..63ca6a39 100644 --- a/libimagref/src/reference.rs +++ b/libimagref/src/reference.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + //! The Ref object is a helper over the link functionality, so one is able to create references to //! files outside of the imag store. diff --git a/libimagref/src/result.rs b/libimagref/src/result.rs index 097232d5..eefcec65 100644 --- a/libimagref/src/result.rs +++ b/libimagref/src/result.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use std::result::Result as RResult; use error::RefError; |