1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! This module contains the `FileBuffer` struct and associated implementations,
//! which is used to represent the file buffer's contents and current file path.
//!
//! This file is part of sued.
//!
//! Visit `main.rs` and `lib.rs` for context and usage.
//!
//! sued is free software licensed under the Apache License, Version 2.0.
/// This struct is used to represent the file buffer.
/// `contents` will contain the text contents of the file as a Vec,
/// and `file_path` will, obviously, contain the file path.
/// **All instances of this struct should be mutable to work with process_command.**