src/contrib/subversion/subversion/libsvn_fs_x/revprops.c
/* Return TRUE, if revision R1 and R2 refer to the same shard in FS.
 */
Return TRUE, if revision R1 and R2 refer to the same shard in FS.
Return TRUE if revision R1 and R2 refer to the same shard in FS .
static svn_boolean_t
same_shard(svn_fs_t *fs,
           svn_revnum_t r1,
           svn_revnum_t r2)
{
  svn_fs_x__data_t *ffd = fs->fsap_data;
  return (r1 / ffd->max_files_per_dir) == (r2 / ffd->max_files_per_dir);
}
static svn_boolean_t same_shard ( svn_fs_t * fs , svn_revnum_t r1 , svn_revnum_t r2 ) { svn_fs_x__data_t * ffd = fs -> fsap_data ; return ( r1 / ffd -> max_files_per_dir ) == ( r2 / ffd -> max_files_per_dir ) ; }
Return TRUE, if revision R1 and R2 refer to the same shard in FS.
Return TRUE if revision R1 and R2 refer to the same shard in FS .