Class: SkillBench::Execution::ContextHydrator::ContextFile

Inherits:
Struct
  • Object
show all
Defined in:
lib/skill_bench/execution/context_hydrator.rb

Overview

Immutable record pairing a context file's path with the content and byte size captured during a single filesystem pass, so the total-size check and the XML build can reuse them without a second stat or read.

Instance Attribute Summary collapse

Instance Attribute Details

#bytesizeObject

Returns the value of attribute bytesize

Returns:

  • (Object)

    the current value of bytesize



18
19
20
# File 'lib/skill_bench/execution/context_hydrator.rb', line 18

def bytesize
  @bytesize
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



18
19
20
# File 'lib/skill_bench/execution/context_hydrator.rb', line 18

def content
  @content
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



18
19
20
# File 'lib/skill_bench/execution/context_hydrator.rb', line 18

def path
  @path
end