counsyl / stor

A cross-compatible CLI and Python API for accessing block and object storage
https://counsyl.github.io/stor/
Other
35 stars 12 forks source link

Posix to DX copy should delete dest file, if already existing #107

Closed anujkumar93 closed 5 years ago

anujkumar93 commented 5 years ago

@jtratner @pkaleta

Fixes/implements BIOINF-1425 wherein we delete the destination file on DNAnexus during a posix to dx copy function

Background

Currently, the 'delete existing dest file if it already exists' functionality happens only on DX to DX stor.copy, and during stor.open. It does not happen for stor.copy on posix to dx paths. This needed to be fixed.

Changes

Tested via: