Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip
Browse files Browse the repository at this point in the history
kirawi committed Jan 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2cb2683 commit 9f7f0dc
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helix-view/src/session.rs → helix-view/src/session/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
pub mod state;

use std::{
fs::{File, OpenOptions},
path::PathBuf,
};

use anyhow::{Context, Result};
use serde::{Deserialize, Serialize};
use sha1_smol::Sha1;

pub struct Session {
12 changes: 12 additions & 0 deletions helix-view/src/session/state.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use std::path::PathBuf;

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct BufferList(pub Vec<PathBuf>);

#[derive(Debug)]
pub struct State {
buffers
}

0 comments on commit 9f7f0dc

Please sign in to comment.