projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5c896d3
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 7 Aug 2018 08:31:03 +0000
(16:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 7 Aug 2018 08:31:03 +0000
(16:31 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
31a07d2
..
afd139c
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-1068,6
+1068,10
@@
public class Strip : GLib.Object {
}
+ if (GLib.FileUtils.test( basepath + subpath + ".strip-done-stamp", GLib.FileTest.EXISTS )) {
+ return;
+ }
+
var f = File.new_for_path(basepath + subpath);
FileEnumerator file_enum;
@@
-1149,6
+1153,13
@@
public class Strip : GLib.Object {
this.scan_dir(basepath,sp);
}
+
+ // completed this folder
+
+ if (opt_stamp) {
+ GLib.FileUtils.set_contents (basepath + subpath + ".strip-done-stamp", "Stripper done");
+ }
+
}