Skip to content

Instantly share code, notes, and snippets.

@robinst
Created July 1, 2010 08:16
Show Gist options
  • Save robinst/459716 to your computer and use it in GitHub Desktop.
Save robinst/459716 to your computer and use it in GitHub Desktop.
// 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