pub struct FileCTESpec {
pub path: String,
pub recursive: bool,
pub glob: Option<String>,
pub max_depth: Option<usize>,
pub max_files: Option<usize>,
pub follow_links: bool,
pub include_hidden: bool,
}Expand description
Specification for FILE CTEs — enumerate filesystem metadata as a virtual table.
Produces one row per matched filesystem entry with metadata columns (path, size, mtime, etc). Phase 1 is metadata-only: contents are not read.
See docs/FILE_CTE_DESIGN.md for design rationale and hazards.
Fields§
§path: StringRoot path to walk. Relative paths resolved against CWD.
recursive: boolIf true, recursively walk subdirectories. Otherwise single-directory listing.
glob: Option<String>Optional glob pattern applied at walker level (e.g. “*.csv”).
max_depth: Option<usize>Maximum walk depth. None = unlimited (only meaningful if recursive).
max_files: Option<usize>Hard cap on number of rows produced. None = use config default (500k). Walker fails loud when exceeded — never silently truncates.
follow_links: boolIf true, follow symlinks. Default false (avoids cycles).
If true, include dotfiles. Default false.
Trait Implementations§
Source§impl Clone for FileCTESpec
impl Clone for FileCTESpec
Source§fn clone(&self) -> FileCTESpec
fn clone(&self) -> FileCTESpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for FileCTESpec
impl RefUnwindSafe for FileCTESpec
impl Send for FileCTESpec
impl Sync for FileCTESpec
impl Unpin for FileCTESpec
impl UnsafeUnpin for FileCTESpec
impl UnwindSafe for FileCTESpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more