Main Page   Modules   Data Structures   File List   Data Fields  

filesystem directories

Directory entry names and directory paths. More...

Data Structures

struct  svn_fs_path_change_t
 Change descriptor. More...


Typedefs

typedef svn_fs_path_change_t svn_fs_path_change_t
 Change descriptor.


Enumerations

enum  svn_fs_path_change_kind_t {
  svn_fs_path_change_modify = 0,
  svn_fs_path_change_add,
  svn_fs_path_change_delete,
  svn_fs_path_change_replace,
  svn_fs_path_change_reset
}
 The kind of change that occurred on the path. More...


Functions

svn_error_tsvn_fs_paths_changed (apr_hash_t **changed_paths_p, svn_fs_root_t *root, apr_pool_t *pool)
 Determine what has changed under a root. More...


Detailed Description

Directory entry names and directory paths.

Here are the rules for directory entry names, and directory paths:

A directory entry name is a Unicode string encoded in UTF-8, and may not contain the null character (U+0000). The name should be in Unicode canonical decomposition and ordering. No directory entry may be named '.', '..', or the empty string. Given a directory entry name which fails to meet these requirements, a filesystem function returns an SVN_ERR_FS_PATH_SYNTAX error.

A directory path is a sequence of zero or more directory entry names, separated by slash characters (U+002f), and possibly ending with slash characters. Sequences of two or more consecutive slash characters are treated as if they were a single slash. If a path ends with a slash, it refers to the same node it would without the slash, but that node must be a directory, or else the function returns an SVN_ERR_FS_NOT_DIRECTORY error.

A path consisting of the empty string, or a string containing only slashes, refers to the root directory.


Enumeration Type Documentation

enum svn_fs_path_change_kind_t
 

The kind of change that occurred on the path.

Enumeration values:
svn_fs_path_change_modify  default value.
svn_fs_path_change_add  path added in txn.
svn_fs_path_change_delete  path removed in txn.
svn_fs_path_change_replace  path removed and re-added in txn.
svn_fs_path_change_reset  ignore all previous change items for path (internal-use only).

Definition at line 830 of file svn_fs.h.


Function Documentation

svn_error_t* svn_fs_paths_changed apr_hash_t **    changed_paths_p,
svn_fs_root_t   root,
apr_pool_t *    pool
 

Determine what has changed under a root.

Allocate and return a hash *changed_paths_p containing descriptions of the paths changed under root. The hash is keyed with const char * paths, and has svn_fs_path_change_t * values. Use pool for all allocations, including the hash and its values.


Generated on Wed Jun 7 11:02:15 2006 for Subversion by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002