mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
File module
This commit is contained in:
parent
51bffc09a0
commit
b0570aab99
2 changed files with 7 additions and 0 deletions
6
editor/src/file.rs
Normal file
6
editor/src/file.rs
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
pub struct File {
|
||||||
|
path: String,
|
||||||
|
content: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl File {}
|
|
@ -22,6 +22,7 @@ use winit::event::{ElementState, ModifiersState, VirtualKeyCode};
|
||||||
use winit::event_loop::ControlFlow;
|
use winit::event_loop::ControlFlow;
|
||||||
|
|
||||||
pub mod ast;
|
pub mod ast;
|
||||||
|
mod file;
|
||||||
mod rect;
|
mod rect;
|
||||||
pub mod text_state;
|
pub mod text_state;
|
||||||
mod vertex;
|
mod vertex;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue