Consistent paths, disable sources
This commit is contained in:
@@ -51,6 +51,10 @@ pub struct S3Credentials {
|
||||
pub enum Source {
|
||||
/// A directory of files
|
||||
Filesystem {
|
||||
/// If false, ignore this dataset
|
||||
#[serde(default = "default_true")]
|
||||
enabled: bool,
|
||||
|
||||
/// The directories to scan.
|
||||
/// Must be relative.
|
||||
path: PathBuf,
|
||||
@@ -66,6 +70,10 @@ pub enum Source {
|
||||
|
||||
/// An S3-compatible object store bucket
|
||||
S3 {
|
||||
/// If false, ignore this dataset
|
||||
#[serde(default = "default_true")]
|
||||
enabled: bool,
|
||||
|
||||
bucket: String,
|
||||
prefix: Option<String>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user