isoloom_spec/files.rs
1//! A generated file, as the generators produce it and the defaults rewrite it.
2
3/// One generated file: its path relative to the project folder, and its contents.
4#[derive(Debug, Clone, PartialEq, Eq)]
5pub struct GeneratedFile {
6 /// Where the file goes, relative to the project folder (`.isoloom/docker/compose.yml`).
7 pub path: String,
8 /// The file's text.
9 pub contents: String,
10}