Struct artifact_app::core::types::ProjectText [] [src]

pub struct ProjectText {
    pub origin: PathBuf,
    pub files: HashMap<PathBuf, String>,
}

struct for representing a project as just a collection of Path and String values, used for loading/formatting/saving files

Fields

Methods

impl ProjectText
[src]

recursively load the directory into text files, making sure not to load files that have already been loaded

impl ProjectText
[src]

dump text to a path

SPC-save

get a hash table with the diff values of the files in a project to what currently exists

Trait Implementations

impl Debug for ProjectText
[src]

Formats the value using the given formatter.

impl PartialEq for ProjectText
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for ProjectText
[src]

Returns the "default value" for a type. Read more