Class: Twin::Conflict::Drift
- Inherits:
-
Struct
- Object
- Struct
- Twin::Conflict::Drift
- Defined in:
- lib/twin/conflict.rb
Overview
The classified outcome of a forced dry-run for one job. pending — relative paths a sync would genuinely change time_only — same bytes, different timestamp; a sync merely aligns them conflicts — Entry list: target-side changes whose content differs
Instance Attribute Summary collapse
-
#conflicts ⇒ Object
Returns the value of attribute conflicts.
-
#pending ⇒ Object
Returns the value of attribute pending.
-
#time_only ⇒ Object
Returns the value of attribute time_only.
Instance Method Summary collapse
Instance Attribute Details
#conflicts ⇒ Object
Returns the value of attribute conflicts
33 34 35 |
# File 'lib/twin/conflict.rb', line 33 def conflicts @conflicts end |
#pending ⇒ Object
Returns the value of attribute pending
33 34 35 |
# File 'lib/twin/conflict.rb', line 33 def pending @pending end |
#time_only ⇒ Object
Returns the value of attribute time_only
33 34 35 |
# File 'lib/twin/conflict.rb', line 33 def time_only @time_only end |
Instance Method Details
#in_sync? ⇒ Boolean
34 |
# File 'lib/twin/conflict.rb', line 34 def in_sync? = pending.empty? && conflicts.empty? |