pub struct ObservedFiles {
pub core: BTreeMap<RelPath, FileBlob>,
pub mode: BTreeMap<RelPath, FileBlob>,
pub local_units: Vec<String>,
pub unreadable: Vec<Unreadable>,
}Expand description
The live files a read found, keyed by collection-relative path
(<module>/<type>/...).
Fields§
§core: BTreeMap<RelPath, FileBlob>Files of the core collection.
mode: BTreeMap<RelPath, FileBlob>Files of the mode collection (Scope::mode).
local_units: Vec<String>Unit keys present in the local collection for the same scope. The
gateway lets local override the mode collection; plan warns about
them. Names only, no bytes.
unreadable: Vec<Unreadable>Files of the core and mode collections the host holds but cannot
serve: on a Windows sftp host, a file whose host path reaches
LONG_PATH_LIMIT (winps::LONG_PATH_LIMIT, 240 characters). Seen
only by the PowerShell enumeration, never downloaded, and never read
as absent: plan, pull, verify and apply treat the whole unit as
unreadable. Byte-sorted by (collection, path). Always empty on a
Linux sftp host and on a local host.
Trait Implementations§
Source§impl Clone for ObservedFiles
impl Clone for ObservedFiles
Source§impl Debug for ObservedFiles
impl Debug for ObservedFiles
Source§impl Default for ObservedFiles
impl Default for ObservedFiles
impl Eq for ObservedFiles
Source§impl PartialEq for ObservedFiles
impl PartialEq for ObservedFiles
impl StructuralPartialEq for ObservedFiles
Auto Trait Implementations§
impl Freeze for ObservedFiles
impl RefUnwindSafe for ObservedFiles
impl Send for ObservedFiles
impl Sync for ObservedFiles
impl Unpin for ObservedFiles
impl UnsafeUnpin for ObservedFiles
impl UnwindSafe for ObservedFiles
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.