Logo Search packages:      
Sourcecode: rapidsvn version File versions  Download package

svn_revnum_t svn::Client::status ( const char *  path,
const StatusFilter filter,
const bool  descend,
const bool  update,
StatusEntries &  entries 
) throw (ClientException)

Enumerates all files/dirs matchin the parameter filter at path and returns them in the vector statusEntries

Throws an exception if an error occurs

Since:
New in 0.9.7
Parameters:
path Path to explore.
filter use a combination of the SHOW_* values to filter the output
descend Recurse into subdirectories if existant.
update Query the repository for updates.
entries vector with Status entries
Returns:
current revnum

Definition at line 313 of file client_status.cpp.

  {
    entries.clear();

    if (Url::isValid(path))
      return remoteStatus(this, path, descend,
                          entries, m_context);
    else
    {
      // remote URLs only need a subset of the filters:
      // we dont expect any modified, conflicting, unknown,
      // ignored entries. And externals arent visible there anyhow
      return localFilteredStatus(
               path, filter, descend, update, entries, m_context);
    }
  }


Generated by  Doxygen 1.6.0   Back to index