mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-02-04 20:36:11 -06:00
deployFile allows for specifying a directory as destination, and copies files into there, simulating the behavior of tools like cp. To do that, it creates the directory, then appends the filename of the input file to it and uses that as destination for the "copy file" call. It's pretty handy for some applications to get the full path of the new file returned by this method directly (doesn't have to implement this concatenation more than once).