summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/db/models/releases.rs10
-rw-r--r--src/filestore/release.rs2
-rw-r--r--src/util/env.rs10
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;