All checks were successful
Rust Build / Test Suite (push) Successful in 28s
Release Tagging / release (push) Successful in 36s
Rust Build / Check (push) Successful in 43s
Rust Build / Rustfmt (push) Successful in 24s
Rust Build / build (push) Successful in 26s
Rust Build / Clippy (push) Successful in 35s
Closes #76 Reviewed-on: #81 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
21 lines
720 B
Rust
21 lines
720 B
Rust
pub mod file_extensions {
|
|
pub mod audio {
|
|
pub const DEFAULTMUSICEXTENSION: &str = FLACEXTENSION;
|
|
pub const FLACEXTENSION: &str = ".flac";
|
|
pub const WAVEXTENSION: &str = ".wav";
|
|
pub const MPTHREEEXTENSION: &str = ".mp3";
|
|
}
|
|
|
|
pub mod image {
|
|
pub const JPGEXTENSION: &str = ".jpg";
|
|
pub const JPEGEXTENSION: &str = ".jpeg";
|
|
pub const PNGEXTENSION: &str = ".png";
|
|
}
|
|
}
|
|
|
|
pub mod error {
|
|
pub const DIRECTORY_NOT_INITIALIZED: &str = "Directory has not been initialized";
|
|
pub const FILENAME_NOT_INITIALIZED: &str = "Filename has not bee initialized";
|
|
pub const LAST_CHARACTER_IN_DIRECTORY: &str = "Could not access last character of directory";
|
|
}
|