[Pkg-privacy-commits] [libgsecuredelete] 03/168: Added a rudimentary implementation of FillOperation.
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 20:06:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository libgsecuredelete.
commit c2cd2e2bb59482860dd62d961f4ede00f1d4c3d1
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Tue Sep 29 20:03:37 2009 +0200
Added a rudimentary implementation of FillOperation.
What's to be done (almost everything):
* Test it and verify it works;
* Add progress support.
---
gsecuredelete/fill-operation.vala | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gsecuredelete/fill-operation.vala b/gsecuredelete/fill-operation.vala
index e69de29..9a80e05 100644
--- a/gsecuredelete/fill-operation.vala
+++ b/gsecuredelete/fill-operation.vala
@@ -0,0 +1,30 @@
+
+namespace SecureDelete
+{
+ /* FIXME: never tested, need test
+ * FIXME: add progress support
+ */
+
+ public class FillOperation : AsyncOperation
+ {
+ public bool fast {
+ get;
+ set;
+ default = false;
+ }
+
+ private override string?[] build_args ()
+ {
+ string?[] args = {
+ "sfill",
+ "-v"
+ };
+ if (this.fast) {
+ args += "-f";
+ }
+ args += null;
+
+ return args;
+ }
+ }
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git
More information about the Pkg-privacy-commits
mailing list