Merge pull request 'Modules : input -> buffer' (#4) from refactoring/names/1 into main

Reviewed-on: https://gitea.ahur.ac/ahurac/rash/pulls/4
This commit is contained in:
Ahurac 2023-12-11 21:31:24 +01:00
commit d72c587201
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
mod input; mod buffer;
mod parser; mod parser;
mod job; mod job;
mod variables; mod variables;
@ -9,9 +9,10 @@ use std::process::{
exit, exit,
}; };
use variables::Variables; use variables::Variables;
use buffer::Buffer;
fn main() { fn main() {
let mut buffer = input::Buffer::new(); let mut buffer = Buffer::new();
let mut bytes_read: usize = 1; let mut bytes_read: usize = 1;
let mut exit_status: Option<Result<ExitStatus>>; let mut exit_status: Option<Result<ExitStatus>>;
let mut exit_code: i32 = 0; let mut exit_code: i32 = 0;