pub enum StagingStrategy {
Full,
Smart,
RefsCow,
ProjFs,
}Expand description
How the staging workspace copies the source project (v0.13.13).
Configured in workflow.toml under [staging]:
[staging]
strategy = "smart" # "full" | "smart" | "refs-cow"- Full (default): byte-for-byte copy, always works, may be slow for large workspaces.
- Smart: symlinks
.taignore/protected_pathsentries instead of copying them — near-zero staging cost for large ignored directories (e.g.,node_modules/, UE Content/). - RefsCow: Windows ReFS Dev Drive only — instant zero-cost clone via
FSCTL_DUPLICATE_EXTENTS_TO_FILE; auto-falls back tosmarton NTFS.
Variants§
Full
Byte-for-byte copy of the source project. Always works; may be slow for large workspaces.
Smart
Symlink excluded directories instead of copying. Fast for large workspaces with many ignored dirs.
RefsCow
Windows ReFS CoW clone. Auto-falls back to smart on non-ReFS volumes.
ProjFs
Windows Projected File System — zero-disk-cost virtual workspace (v0.15.8).
Files appear in staging instantly; reads hydrate from source on demand.
Writes land in .projfs-scratch/. Auto-falls back to smart when
Client-ProjFS is not installed (requires Windows 10 1809+).
Implementations§
Trait Implementations§
Source§impl Clone for StagingStrategy
impl Clone for StagingStrategy
Source§fn clone(&self) -> StagingStrategy
fn clone(&self) -> StagingStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StagingStrategy
impl Debug for StagingStrategy
Source§impl Default for StagingStrategy
impl Default for StagingStrategy
Source§fn default() -> StagingStrategy
fn default() -> StagingStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StagingStrategy
impl<'de> Deserialize<'de> for StagingStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StagingStrategy
impl PartialEq for StagingStrategy
Source§impl Serialize for StagingStrategy
impl Serialize for StagingStrategy
impl Eq for StagingStrategy
impl StructuralPartialEq for StagingStrategy
Auto Trait Implementations§
impl Freeze for StagingStrategy
impl RefUnwindSafe for StagingStrategy
impl Send for StagingStrategy
impl Sync for StagingStrategy
impl Unpin for StagingStrategy
impl UnsafeUnpin for StagingStrategy
impl UnwindSafe for StagingStrategy
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.