docs: public static final int getScMergeStatus(int existingScFlags, int newScFlags) {
          if ((existingScFlags & scDirMask) == (newScFlags & scDirMask))
              return 1;
          else if ((newScFlags & scDirMask) == scDirMask)
              return 2;
  
          return 0;
      }