mirror of
https://github.com/jamessanford/kegs.git
synced 2024-06-01 07:41:52 +00:00
Note about deficiencies in CopyHelper.
This commit is contained in:
parent
7fd08733ec
commit
60681e4db4
|
@ -17,6 +17,10 @@ public class CopyHelper {
|
|||
mFile = filename;
|
||||
}
|
||||
|
||||
// This leaves a partial temporary file on error and doesn't let you know
|
||||
// whether it was successful. If your disk is full you will be unhappy.
|
||||
//
|
||||
// Caller could check for final file name.
|
||||
public void copy() throws java.io.IOException {
|
||||
Log.e("kegs", "CopyHelper to " + mDir + "/" + mFile);
|
||||
final File dir = new File(mDir);
|
||||
|
|
Loading…
Reference in New Issue
Block a user