Compare commits

..

4 Commits

Author SHA1 Message Date
fb7332e9ca tsk-76: Version bump
Some checks failed
Rust Build / Check (pull_request) Successful in 25s
Rust Build / Rustfmt (pull_request) Successful in 34s
Rust Build / Test Suite (pull_request) Successful in 37s
Rust Build / Clippy (pull_request) Failing after 24s
Rust Build / build (pull_request) Successful in 28s
2025-10-24 12:40:43 -04:00
69423d8d39 tsk-76: Cleanup 2025-10-24 12:40:34 -04:00
f66436472a tsk-76: Added util module 2025-10-24 12:37:33 -04:00
c9ea18f9ec tsk-76: Adding function to simplify getting path of Song 2025-10-24 12:37:18 -04:00
3 changed files with 4 additions and 5 deletions

View File

@@ -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.

View File

@@ -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),
} }

View File

@@ -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),
} }