harn-cli 0.7.21

CLI for the Harn programming language — run, test, REPL, format, and lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::Arc;

use tokio::sync::Mutex;

use super::dto::PortalLaunchJob;

#[derive(Clone)]
pub(super) struct PortalState {
    pub(super) run_dir: PathBuf,
    pub(super) workspace_root: PathBuf,
    pub(super) launch_program: PathBuf,
    pub(super) launch_jobs: Arc<Mutex<HashMap<String, PortalLaunchJob>>>,
}