abcxyz / abc

Apache License 2.0
12 stars 3 forks source link

Create target directory in CopyFile #627

Closed drevell closed 2 months ago

drevell commented 2 months ago

There have been two bugs now where we tried to CopyFile to a directory that doesn't exist. For all the use cases in abc, we always want to create the directory if it doesn't exist, so we just add that to CopyFile.

Also, CopyFile was missing unit tests so this PR adds them.