Google is committed to advancing racial equity for Black communities. See how.

filterForNodeReference method

int filterForNodeReference (int flags)

Filter flags when openFlagNodeReference is passed. This will maintain compatibility with c++ layer.

Implementation

int filterForNodeReference(int flags) {
  if (Flags.isNodeReference(flags)) {
    return flags &
        (openFlagNodeReference | openFlagDirectory | openFlagDescribe);
  }
  return flags;
}