Fixed a mistake in copyright disclamers.

This commit is contained in:
Simon Boyé
2023-03-04 18:06:22 +01:00
parent 956d2d337c
commit 7230127f26
25 changed files with 58 additions and 46 deletions

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use std::collections::{hash_map, HashMap}; use std::collections::{hash_map, HashMap};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use std::path::PathBuf; use std::path::PathBuf;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
pub mod command; pub mod command;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
#[macro_use] #[macro_use]

12
bsvfs/Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
[package]
name = "cas-core"
version = "0.1.0"
authors = ["Simon Boyé <sim.boye@gmail.com>"]
edition = "2021"
license = "AGPL-3.0-or-later"
[dependencies]
thiserror = "1.0.25"
camino = { version = "1.0.7" }
[dev-dependencies]

0
bsvfs/src/lib.rs Normal file
View File

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use camino::Utf8Path; use camino::Utf8Path;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
// use std::path::Utf8PathBuf; // use std::path::Utf8PathBuf;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
//! # cas-core //! # cas-core
//! //!

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use std::fmt; use std::fmt;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use super::object_type::{ObjectType}; use super::object_type::{ObjectType};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use super::err; use super::err;
use super::error::*; use super::error::*;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use digest::DynDigest; use digest::DynDigest;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use std::str::FromStr; use std::str::FromStr;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
//! # cas-simple //! # cas-simple
//! //!

View File

@@ -6,13 +6,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use digest::DynDigest; use digest::DynDigest;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use camino::{Utf8PathBuf}; use camino::{Utf8PathBuf};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use std::collections::{HashMap}; use std::collections::{HashMap};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use camino::{Utf8Path, Utf8PathBuf}; use camino::{Utf8Path, Utf8PathBuf};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
extern crate toml; extern crate toml;

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use camino::{Utf8Path, Utf8PathBuf}; use camino::{Utf8Path, Utf8PathBuf};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use cas_core::{err, Error, Result}; use cas_core::{err, Error, Result};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use camino::{Utf8Path, Utf8PathBuf}; use camino::{Utf8Path, Utf8PathBuf};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use std::time::{Duration, SystemTime, UNIX_EPOCH}; use std::time::{Duration, SystemTime, UNIX_EPOCH};

View File

@@ -5,13 +5,13 @@
// Software Foundation, either version 3 of the License, or (at your option) // Software Foundation, either version 3 of the License, or (at your option)
// any later version. // any later version.
// //
// cdb is distributed in the hope that it will be useful, but WITHOUT ANY // bsv is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for // FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
// more details. // more details.
// //
// You should have received a copy of the Affero GNU General Public License // You should have received a copy of the Affero GNU General Public License
// along with cdb. If not, see <https://www.gnu.org/licenses/>. // along with bsv. If not, see <https://www.gnu.org/licenses/>.
use std::iter::Peekable; use std::iter::Peekable;