pub struct Plan {
pub project: PathBuf,
pub scopes: Vec<Scope>,
pub exclude: Vec<String>,
pub watch: bool,
pub debounce_ms: u64,
pub audit_seconds: u64,
pub idle_seconds: u64,
pub max_file_bytes: u64,
pub system_memory_bytes: u64,
pub daemon_memory_limit_bytes: u64,
pub daemon_memory_limit_automatic: bool,
pub config_path: PathBuf,
}Fields§
§project: PathBuf§scopes: Vec<Scope>§exclude: Vec<String>§watch: bool§debounce_ms: u64§audit_seconds: u64§idle_seconds: u64§max_file_bytes: u64§system_memory_bytes: u64§daemon_memory_limit_bytes: u64§daemon_memory_limit_automatic: bool§config_path: PathBufImplementations§
Source§impl Plan
impl Plan
Sourcepub fn load(project: &Path, detected_roots: &[PathBuf]) -> Result<Plan, String>
pub fn load(project: &Path, detected_roots: &[PathBuf]) -> Result<Plan, String>
Load .ct/index.jsonc, deriving conservative OKF scopes when absent.
pub fn to_json(&self) -> Value
Sourcepub fn config_json(&self) -> Value
pub fn config_json(&self) -> Value
Materializable project configuration for the current effective scopes. Paths beneath the project are written relatively for portability.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more