Created
July 1, 2010 08:16
-
-
Save robinst/459716 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The information whether head,index,merge iterators are currently | |
// pointing to file/folder/non-existing is encoded into this variable. | |
// | |
// To decode write down ffMask in hexadecimal form. The last digit | |
// represents the state for the merge iterator, the second last the | |
// state for the index iterator and the third last represents the state | |
// for the head iterator. The hexadecimal constant "F" stands for | |
// "file", | |
// an "D" stands for "directory" (tree), and a "0" stands for | |
// non-exisiting | |
// | |
// Examples: | |
// ffMask == 0xFFD -> Head=File, Index=File, Merge=Tree | |
// ffMask == 0xDD0 -> Head=Tree, Index=Tree, Merge=Non-Exisiting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment