hf_get_existing_chunks: Get Existing Chunk IDs

View source: R/batch.R

hf_get_existing_chunksR Documentation

Get Existing Chunk IDs

Description

Internal function to find which chunks have already been written.

Usage

hf_get_existing_chunks(output_dir, prefix = "chunk")

Arguments

output_dir

Character string. Directory to check.

prefix

Character string. File name prefix to match.

Value

Integer vector of chunk IDs that already exist.


huggingfaceR documentation built on Aug. 30, 2026, 1:06 a.m.