eden/fs/store/hg/HgBackingStore.cpp
// A helper function to avoid repeating noisy casts/conversions when
// loading data from a UnionDatapackStore instance.
A helper function to avoid repeating noisy casts/conversions when
loading data from a UnionDatapackStore instance.
A helper function to avoid repeating noisy casts / conversions when loading data from a UnionDatapackStore instance .
ConstantStringRef unionStoreGet(
    UnionDatapackStore& unionStore,
    StringPiece name,
    const Hash& id) {
  return unionStore.get(
      Key(name.data(),
          name.size(),
          (const char*)id.getBytes().data(),
          id.getBytes().size()));
}
ConstantStringRef unionStoreGet ( UnionDatapackStore & unionStore , StringPiece name , const Hash & id ) { return unionStore . get ( Key ( name . data ( ) , name . size ( ) , ( const char * ) id . getBytes ( ) . data ( ) , id . getBytes ( ) . size ( ) ) ) ; }
A helper function to avoid repeating noisy casts/conversions when
loading data from a UnionDatapackStore instance.
A helper function to avoid repeating noisy casts / conversions when loading data from a UnionDatapackStore instance .