Skip to main content

copy_payload_files

Function copy_payload_files 

Source
pub fn copy_payload_files(from: &StoreDir, to: &StoreDir)
Expand description

Copy the file-backed payloads one store directory holds into another.

A store is a directory, not a file: rows name payload files beside the database, so a test that copies the database with VACUUM INTO and opens the copy has to bring those files along, exactly as a device carries its whole store directory rather than one file out of it.