Compare commits
4 Commits
v0.8.2-mai
...
fb7332e9ca
| Author | SHA1 | Date | |
|---|---|---|---|
|
fb7332e9ca
|
|||
|
69423d8d39
|
|||
|
f66436472a
|
|||
|
c9ea18f9ec
|
@@ -1,3 +1,2 @@
|
|||||||
A library containing commonly used structs, functions, enums, constants and other code
|
A library containing commonly used models and functions that is used throughout
|
||||||
that is used throughout the icarus projects. Code from this library serves as the model
|
icarus projects. This reduces the amount of duplicated code without a benefit.
|
||||||
for other projects in the icarus project.
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ impl CoverArt {
|
|||||||
let directory = &self.directory;
|
let directory = &self.directory;
|
||||||
let last_index = directory.len() - 1;
|
let last_index = directory.len() - 1;
|
||||||
|
|
||||||
match crate::util::concatenate_path(directory, &self.filename, last_index) {
|
match crate::util::concatenate_path(&directory, &self.filename, last_index) {
|
||||||
Ok(path) => Ok(path),
|
Ok(path) => Ok(path),
|
||||||
Err(err) => Err(err),
|
Err(err) => Err(err),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ impl Song {
|
|||||||
let directory = &self.directory;
|
let directory = &self.directory;
|
||||||
let last_index = directory.len() - 1;
|
let last_index = directory.len() - 1;
|
||||||
|
|
||||||
match crate::util::concatenate_path(directory, &self.filename, last_index) {
|
match crate::util::concatenate_path(&directory, &self.filename, last_index) {
|
||||||
Ok(path) => Ok(path),
|
Ok(path) => Ok(path),
|
||||||
Err(err) => Err(err),
|
Err(err) => Err(err),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user