subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1433852 - in /subversion/branches/fsfs-format7/subversion/libsvn_fs_fs: util.c util.h
Date Wed, 16 Jan 2013 08:25:34 GMT
Author: stefan2
Date: Wed Jan 16 08:25:34 2013
New Revision: 1433852

URL: http://svn.apache.org/viewvc?rev=1433852&view=rev
Log:
On the fsfs-format7 branch: Add new path name functions.
They need to be renamed later on.

* subversion/libsvn_fs_fs/util.h
  (path_l2p_proto_index,
   path_p2l_proto_index,
   path_txn_item_index): declare new internal API functions
* subversion/libsvn_fs_fs/util.c
  (path_l2p_proto_index,
   path_p2l_proto_index,
   path_txn_item_index): implement them

Modified:
    subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.c
    subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.h

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.c?rev=1433852&r1=1433851&r2=1433852&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.c Wed Jan 16 08:25:34 2013
@@ -264,6 +264,24 @@ path_txn_props(svn_fs_t *fs, const char 
   return svn_dirent_join(path_txn_dir(fs, txn_id, pool), PATH_TXN_PROPS, pool);
 }
 
+const char*
+path_l2p_proto_index(svn_fs_t *fs,
+                     const char *txn_id,
+                     apr_pool_t *pool)
+{
+  return svn_dirent_join(path_txn_dir(fs, txn_id, pool),
+                         PATH_INDEX PATH_EXT_L2P_INDEX, pool);
+}
+
+const char*
+path_p2l_proto_index(svn_fs_t *fs,
+                     const char *txn_id,
+                     apr_pool_t *pool)
+{
+  return svn_dirent_join(path_txn_dir(fs, txn_id, pool),
+                         PATH_INDEX PATH_EXT_P2L_INDEX, pool);
+}
+
 const char *
 path_txn_next_ids(svn_fs_t *fs, const char *txn_id, apr_pool_t *pool)
 {
@@ -276,6 +294,14 @@ path_min_unpacked_rev(svn_fs_t *fs, apr_
   return svn_dirent_join(fs->path, PATH_MIN_UNPACKED_REV, pool);
 }
 
+const char *
+path_txn_item_index(svn_fs_t *fs,
+                    const char *txn_id,
+                    apr_pool_t *pool)
+{
+  return svn_dirent_join(path_txn_dir(fs, txn_id, pool),
+                         PATH_TXN_ITEM_INDEX, pool);
+}
 
 const char *
 path_txn_proto_rev(svn_fs_t *fs, const char *txn_id, apr_pool_t *pool)

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.h
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.h?rev=1433852&r1=1433851&r2=1433852&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.h (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/util.h Wed Jan 16 08:25:34 2013
@@ -161,6 +161,16 @@ path_txn_changes(svn_fs_t *fs,
                  const char *txn_id,
                  apr_pool_t *pool);
 
+const char*
+path_l2p_proto_index(svn_fs_t *fs,
+                     const char *txn_id,
+                     apr_pool_t *pool);
+
+const char*
+path_p2l_proto_index(svn_fs_t *fs,
+                     const char *txn_id,
+                     apr_pool_t *pool);
+
 const char *
 path_txn_props(svn_fs_t *fs,
                const char *txn_id,
@@ -177,6 +187,11 @@ path_min_unpacked_rev(svn_fs_t *fs,
 
 
 const char *
+path_txn_item_index(svn_fs_t *fs,
+                    const char *txn_id,
+                    apr_pool_t *pool);
+
+const char *
 path_txn_proto_rev(svn_fs_t *fs,
                    const char *txn_id,
                    apr_pool_t *pool);



Mime
View raw message