Skip to main content

Mountain/Workspace/WorkspaceFileService/
WorkspaceFile.rs

1
2//! Top-level shape of a `.code-workspace` JSON document. Private to the
3//! parser; exposed only as `pub(super)` for the sibling
4//! `ParseWorkspaceFile::Fn` to deserialise into.
5
6use serde::Deserialize;
7
8use crate::Workspace::WorkspaceFileService::WorkspaceFolderEntry;
9
10#[derive(Deserialize, Debug)]
11pub(super) struct Struct {
12	pub(super) folders:Vec<WorkspaceFolderEntry::Struct>,
13	// `.code-workspace` may also contain `settings`, `extensions`, etc. -
14	// not yet consumed by Mountain.
15}