Skip to main content

Mountain/Workspace/WorkspaceFileService/
WorkspaceFile.rs

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