MCPcopy Create free account
hub / github.com/boostorg/filesystem / copy_file_data_read_write_stack_buf

Function copy_file_data_read_write_stack_buf

src/operations.cpp:776–780  ·  view source on GitHub ↗

copy_file implementation that uses read/write loop (fallback using a stack buffer)

Source from the content-addressed store, hash-verified

774
775//! copy_file implementation that uses read/write loop (fallback using a stack buffer)
776int copy_file_data_read_write_stack_buf(int infile, int outfile)
777{
778 char stack_buf[min_read_write_buf_size];
779 return copy_file_data_read_write_impl(infile, outfile, stack_buf, sizeof(stack_buf));
780}
781
782//! copy_file implementation that uses read/write loop
783int copy_file_data_read_write(int infile, int outfile, uintmax_t size, std::size_t blksize)

Callers 1

Calls 1

Tested by

no test coverage detected