struct FilesBatch
- FilesBatch
- Struct
- Value
- Object
Defined in:
crawler.crConstructors
Instance Method Summary
- #batch_size : Int32
- #batch_size=(batch_size : Int32)
- #files : Array(String)
- #files=(files : Array(String))
- #files_count : Int32
- #files_count=(files_count : Int32)
-
#full?
Batch is full or not depending on the Batch Size
batch = FilesBatch.new(2) batch.files << "file1" batch.files << "file2" puts batch.full? # Returns true
- #hardlinks : Hash(UInt64, Array(String))
- #hardlinks=(hardlinks : Hash(UInt64, Array(String)))
- #stime_update_dirs : Array(String)
- #stime_update_dirs=(stime_update_dirs : Array(String))
Constructor Detail
Instance Method Detail
def full?
#
Batch is full or not depending on the Batch Size
batch = FilesBatch.new(2)
batch.files << "file1"
batch.files << "file2"
puts batch.full? # Returns true