From d81ce99e0d1f1371ba9165a67280a810ee27bf82 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sun, 24 Jan 2021 16:22:34 -0300 Subject: Clean up metadata --- src/errors.rs | 18 ++++++++++++++++++ src/lib.rs | 18 ++++++++++++++++++ src/parser.rs | 18 ++++++++++++++++++ src/pattern.rs | 18 ++++++++++++++++++ 4 files changed, 72 insertions(+) (limited to 'src') diff --git a/src/errors.rs b/src/errors.rs index ddc6a1a..5c6a0c8 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,3 +1,21 @@ +/* + * This file is part of Datafu + * Copyright (C) 2021 Soni L. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + pub struct PatternError; /// Error type returned by the matcher. diff --git a/src/lib.rs b/src/lib.rs index b5d7bc6..0e14d97 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,21 @@ +/* + * Datafu - Rust library for extracting data from object graphs. + * Copyright (C) 2021 Soni L. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + pub mod errors; mod parser; mod pattern; diff --git a/src/parser.rs b/src/parser.rs index 17c0529..e2caa4f 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1,3 +1,21 @@ +/* + * This file is part of Datafu + * Copyright (C) 2021 Soni L. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + // TODO use crate::PatternTypes; diff --git a/src/pattern.rs b/src/pattern.rs index 2b99163..e0a5174 100644 --- a/src/pattern.rs +++ b/src/pattern.rs @@ -1,3 +1,21 @@ +/* + * This file is part of Datafu + * Copyright (C) 2021 Soni L. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + use crate::PatternTypes; use crate::RefOwn; use crate::errors::PatternError; -- cgit 1.4.1