"/"+ this.active_name + "."+ GLib.Uri.escape_string(filename,"", false);
var outfile = new GMime.StreamFile.for_path(fn, "w");
+ if (outfile == null) {
+ return; // something has gone wrong??
+ }
outfile.set_owner(true);
var file_size = (int) c.write_to_stream(outfile);
var chksum = this.md5_file(fn);
}
+ if (StripApplication.opt_stamp && GLib.FileUtils.test( basepath + subpath + "/.strip-done-stamp", GLib.FileTest.EXISTS )) {
+ return;
+ }
+
var f = File.new_for_path(basepath + subpath);
FileEnumerator file_enum;
this.scan_dir(basepath,sp);
}
+
+ // completed this folder
+
+ if (StripApplication.opt_stamp) {
+ GLib.FileUtils.set_contents (basepath + subpath + "/.strip-done-stamp", "Stripper done");
+ }
+
}