Open sify21 opened 2 years ago
I know from the spec that
whiteoutPrefix
means deleted files, but I can't find explanations in the spec fordoubleWhiteoutPrefix
. Could you kindly explain the usage of it? Thanks in advance.
As far as I understand, .wh..wh..opq
is the flag(kind of), that indicates that all content of the directory should be deleted("whited out"). So in general, in case like this: /data/{file1,file2}
these situations are similar:
/data/.wh.file1
, /data/.wh.file2
/data/.wh..wh..opq
We can not just use /.wh.data
, because the whole directory is deleted then, not just its content
Hi @wagoodman, I'm trying to port the parsing logic of this tool as a rust library here, which I want to use in a personal project, but I don't understand the usage of
doubleWhiteoutPrefix
defined here: https://github.com/wagoodman/dive/blob/64880972b0726ec2ff2b005b0cc97801067c1bb5/dive/filetree/file_tree.go#L20I know from the spec that
whiteoutPrefix
means deleted files, but I can't find explanations in the spec fordoubleWhiteoutPrefix
. Could you kindly explain the usage of it? Thanks in advance.