diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-02-22 14:18:43 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-02-22 14:18:43 +0100 |
commit | cc395116613dfb8469d6a4e5ec9fce6a96772a7c (patch) | |
tree | df35a2242584a6e17cd2b31e9290cca5379f72d2 /src | |
parent | 261b30c9ba1ed11ae28dad222aaa69319c8d7336 (diff) | |
parent | 4c1d3406f8fc3f024c18e9b0c508e5bf57477251 (diff) |
Merge branch 'misc'
Diffstat (limited to 'src')
-rw-r--r-- | src/db/models/releases.rs | 10 | ||||
-rw-r--r-- | src/filestore/release.rs | 2 | ||||
-rw-r--r-- | src/util/env.rs | 10 |
3 files changed, 21 insertions, 1 deletions
diff --git a/src/db/models/releases.rs b/src/db/models/releases.rs index 20caed8..0947bd9 100644 --- a/src/db/models/releases.rs +++ b/src/db/models/releases.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Error; use anyhow::Result; use chrono::NaiveDateTime; diff --git a/src/filestore/release.rs b/src/filestore/release.rs index f19f69a..a30c86e 100644 --- a/src/filestore/release.rs +++ b/src/filestore/release.rs @@ -22,7 +22,7 @@ pub struct ReleaseStore(pub(in crate::filestore) FileStoreImpl); impl Debug for ReleaseStore { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> { - write!(f, "StagingStore(root: {})", self.0.root.display()) + write!(f, "ReleaseStore(root: {})", self.0.root.display()) } } diff --git a/src/util/env.rs b/src/util/env.rs index b1c0170..de2c1cb 100644 --- a/src/util/env.rs +++ b/src/util/env.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::anyhow; use anyhow::Result; |