Cross-platform recursive file copying library that replicates Unix 'cp -R' command functionality
Agent Success
Agent success rate when using this tile
66%
Improvement
Agent success rate improvement when using this tile compared to baseline
1x
Baseline
Agent success rate without this tile
66%
Create a module that replicates a directory tree while verifying that every copied path exists on disk immediately after the operation.
sourceDir to targetDir returns a sorted array of destination paths, and each reported path exists on disk after verification. @test/\\.log$/), the returned path list omits those items and verification does not expect them to exist. @test@generates
export interface CopyOptions {
overwrite?: boolean;
filter?: RegExp | ((path: string) => boolean);
}
export function replicateWithVerification(
source: string,
destination: string,
options?: CopyOptions
): Promise<string[]>;Recursive copy utility with built-in post-copy verification of copied paths. @satisfied-by
tessl i tessl/npm-cpr@3.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10