generated from OBJNULL/Dockerized-Rust
Created Packager Base
This commit is contained in:
parent
2555c31e92
commit
803e59e21f
1 changed files with 25 additions and 0 deletions
25
project/src/packager.rs
Normal file
25
project/src/packager.rs
Normal file
|
@ -0,0 +1,25 @@
|
|||
// Libraries
|
||||
use std::io::Result;
|
||||
|
||||
// Structures
|
||||
pub struct Packager {
|
||||
directory: String,
|
||||
file_out: String,
|
||||
}
|
||||
|
||||
// Implementations
|
||||
impl Packager {
|
||||
// Constructors
|
||||
pub fn new(directory: String, file_out: String) -> Self {
|
||||
Self {
|
||||
directory,
|
||||
file_out,
|
||||
}
|
||||
}
|
||||
|
||||
// Functions
|
||||
pub fn start(&self) -> Result<()> {
|
||||
// Ok!!
|
||||
Ok(())
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue