classeq_ports_lib/models/file_system_config.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Serialize, Deserialize)]
4#[serde(rename_all = "camelCase")]
5pub struct FileSystemConfig {
6 /// Default anonymous directory
7 ///
8 /// Anonymous directory path should be used when users are not identified.
9 pub public_directory: String,
10
11 /// The directory to be used for storing the database.
12 pub serve_directory: String,
13
14 /// The directory to be used for storing source data from users.
15 pub input_directory: String,
16
17 /// The directory to be used for storing output data from users.
18 pub output_directory: String,
19
20 /// The name of the configuration file generated to store analysis
21 /// configurations.
22 pub config_file_name: String,
23
24 /// The name of the lock file generated to indicate the analysis is
25 /// pending.
26 pub results_file_name: String,
27
28 /// The name of the lock file generated to indicate the analysis was
29 /// successful.
30 pub success_file_name: String,
31
32 /// The name of the lock file generated to indicate the analysis is running.
33 pub running_file_name: String,
34
35 /// The name of the lock file generated to indicate the analysis is in
36 /// error.
37 pub error_file_name: String,
38
39 /// The name of the lock file generated to store logging information.
40 pub logging_file_name: String,
41}