From fed961e74a7192e7c89396673f712e0229fa5f61 Mon Sep 17 00:00:00 2001 From: Andreas Hrubak Date: Wed, 10 Oct 2018 12:43:04 +0200 Subject: [PATCH] Update recyclix-flow.svg --- recyclix-flow.svg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rewrite recyclix-flow.svg (81%) diff --git a/recyclix-flow.svg b/recyclix-flow.svg dissimilarity index 81% index a866b1e..1ef9963 100644 --- a/recyclix-flow.svg +++ b/recyclix-flow.svg @@ -1,2 +1,2 @@ - -
user initiates file removal
eg. rm file
[Not supported by viewer]
recyclix.so:
unlinkat()
[Not supported by viewer]
get next
item in $RECYCLER
env
[Not supported by viewer]
pass to
libc.so
[Not supported by viewer]
return
return
replace ~/ to $HOME
[Not supported by viewer]
no more option
no more option
get next option
get next option
NO
[Not supported by viewer]
YES
[Not supported by viewer]
is
Recycler
on the same filesystem
as file?
[Not supported by viewer]
NO
NO
YES
YES
within the
size limits?
within the<br>size limits?
YES
YES
NO
[Not supported by viewer]
exclude pattern matched?
exclude pattern matched?
discover file's path up to the filesystem's mountpoint
[Not supported by viewer]
YES
YES
NO
NO
is file under
Recycler?
is file under<br>Recycler?
copy file's path to Recycler
copy file's path to Recycler
YES
[Not supported by viewer]
NO
NO
did
recursive mkdir() succeed?
did <br>recursive mkdir() succeed?
return
return
pass to
renameat() to
move file to Recycler
keeping path
[Not supported by viewer]
NO
[Not supported by viewer]
YES
YES
is it a
size limit?
is it a<br>size limit?
YES
YES
NO
NO
is it sane?
is it sane?
warning
warning
return ECANCELED
return ECANCELED
save
size
limit
[Not supported by viewer]
YES
YES
is it an
exclude pattern?
is it an<br>exclude pattern?
apply regex
apply regex
save
match
result
[Not supported by viewer]
warning
warning
return ECANCELED
return ECANCELED
NO
NO
return
return
no more items
<div>no more items</div>
+ +
user initiates file removal
eg. rm file
[Not supported by viewer]
recyclix.so:
unlinkat()
[Not supported by viewer]
get next
item in $RECYCLER
env
[Not supported by viewer]
pass to
libc.so
[Not supported by viewer]
return
return
replace ~/ to $HOME
[Not supported by viewer]
no more option
no more option
get next option
get next option
NO
[Not supported by viewer]
YES
[Not supported by viewer]
is
Recycler
on the same filesystem
as file?
[Not supported by viewer]
NO
NO
YES
YES
within the
size limits?
within the<br>size limits?
YES
YES
NO
[Not supported by viewer]
exclude pattern matched?
exclude pattern matched?
discover file's path up to the filesystem's mountpoint
[Not supported by viewer]
YES
YES
NO
NO
is file under
Recycler?
is file under<br>Recycler?
copy file's path to Recycler
copy file's path to Recycler
YES
[Not supported by viewer]
NO
NO
did
recursive mkdir() succeed?
did <br>recursive mkdir() succeed?
return
return
pass to
renameat() to
move file to Recycler
keeping path
[Not supported by viewer]
NO
[Not supported by viewer]
YES
YES
is it a
size limit?
is it a<br>size limit?
YES
YES
NO
NO
is it sane?
is it sane?
warning
warning
return ECANCELED
return ECANCELED
save
size
limit
[Not supported by viewer]
YES
YES
is it an
exclude pattern?
is it an<br>exclude pattern?
apply regex
apply regex
save
match
result
[Not supported by viewer]
warning
warning
return ECANCELED
return ECANCELED
NO
NO
return
return
no more items
<div>no more items</div>
set size limit
to [1;∞[
set size limit<br>to [1;∞[
unset exclude
pattern match
[Not supported by viewer]
-- 2.11.4.GIT