From 06ca406c1b9a078f70eb02d5df78ad7cf71a94ed Mon Sep 17 00:00:00 2001 From: Andreas Hrubak Date: Wed, 10 Oct 2018 09:51:46 +0200 Subject: [PATCH] Update recyclix-flow.svg --- recyclix-flow.svg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rewrite recyclix-flow.svg (82%) diff --git a/recyclix-flow.svg b/recyclix-flow.svg dissimilarity index 82% index ab0dcf1..a866b1e 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]
no more items
<div>no more items</div>
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?
copy file's path to Recycler (recursive mkdir)
copy file's path to Recycler (recursive mkdir)
move file to Recycler keeping path
move file to Recycler keeping path
renameat()
renameat()
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
+ +
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>
-- 2.11.4.GIT