Ring Daemon 16.0.0
Loading...
Searching...
No Matches
conversationrepository.h File Reference
Include dependency graph for conversationrepository.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jami::ConversationCommit
 
struct  jami::ConversationMember
 
class  jami::ConversationRepository
 This class gives access to the git repository that represents the conversation. More...
 
struct  jami::Filter
 
struct  jami::GitAuthor
 
struct  jami::LogOptions
 

Namespaces

namespace  jami
 

Typedefs

using GitAnnotatedCommit = std::unique_ptr< git_annotated_commit, decltype(&git_annotated_commit_free)>
 
using GitCommit = std::unique_ptr< git_commit, decltype(&git_commit_free)>
 
using GitDiff = std::unique_ptr< git_diff, decltype(&git_diff_free)>
 
using GitDiffStats = std::unique_ptr< git_diff_stats, decltype(&git_diff_stats_free)>
 
using GitIndex = std::unique_ptr< git_index, decltype(&git_index_free)>
 
using GitIndexConflictIterator = std::unique_ptr< git_index_conflict_iterator, decltype(&git_index_conflict_iterator_free)>
 
using GitObject = std::unique_ptr< git_object, decltype(&git_object_free)>
 
using GitPackBuilder = std::unique_ptr< git_packbuilder, decltype(&git_packbuilder_free)>
 
using GitReference = std::unique_ptr< git_reference, decltype(&git_reference_free)>
 
using GitRemote = std::unique_ptr< git_remote, decltype(&git_remote_free)>
 
using GitRepository = std::unique_ptr< git_repository, decltype(&git_repository_free)>
 
using GitRevWalker = std::unique_ptr< git_revwalk, decltype(&git_revwalk_free)>
 
using GitSignature = std::unique_ptr< git_signature, decltype(&git_signature_free)>
 
using GitTree = std::unique_ptr< git_tree, decltype(&git_tree_free)>
 
using jami::PostConditionCb = std::function< bool(const std::string &, const GitAuthor &, ConversationCommit &)>
 
using jami::PreConditionCb = std::function< CallbackResult(const std::string &, const GitAuthor &, const GitCommit &)>
 

Enumerations

enum class  jami::CallbackResult { jami::Skip , jami::Break , jami::Ok }
 
enum class  jami::ConversationMode : int { jami::ONE_TO_ONE = 0 , jami::ADMIN_INVITES_ONLY , jami::INVITES_ONLY , jami::PUBLIC }
 
enum class  jami::MemberRole {
  jami::ADMIN = 0 , jami::MEMBER , jami::INVITED , jami::BANNED ,
  jami::LEFT
}
 

Functions

 MSGPACK_ADD_ENUM (jami::MemberRole)
 

Variables

constexpr auto jami::ECOMMIT = 5
 
constexpr auto jami::EFETCH = 1
 
constexpr auto jami::EINVALIDMODE = 2
 
constexpr auto jami::EUNAUTHORIZED = 4
 
constexpr auto jami::EVALIDFETCH = 3
 

Typedef Documentation

◆ GitAnnotatedCommit

using GitAnnotatedCommit = std::unique_ptr<git_annotated_commit, decltype(&git_annotated_commit_free)>

Definition at line 32 of file conversationrepository.h.

◆ GitCommit

using GitCommit = std::unique_ptr<git_commit, decltype(&git_commit_free)>

Definition at line 31 of file conversationrepository.h.

◆ GitDiff

using GitDiff = std::unique_ptr<git_diff, decltype(&git_diff_free)>

Definition at line 40 of file conversationrepository.h.

◆ GitDiffStats

using GitDiffStats = std::unique_ptr<git_diff_stats, decltype(&git_diff_stats_free)>

Definition at line 41 of file conversationrepository.h.

◆ GitIndex

using GitIndex = std::unique_ptr<git_index, decltype(&git_index_free)>

Definition at line 34 of file conversationrepository.h.

◆ GitIndexConflictIterator

using GitIndexConflictIterator = std::unique_ptr<git_index_conflict_iterator, decltype(&git_index_conflict_iterator_free)>

Definition at line 42 of file conversationrepository.h.

◆ GitObject

using GitObject = std::unique_ptr<git_object, decltype(&git_object_free)>

Definition at line 39 of file conversationrepository.h.

◆ GitPackBuilder

using GitPackBuilder = std::unique_ptr<git_packbuilder, decltype(&git_packbuilder_free)>

Definition at line 28 of file conversationrepository.h.

◆ GitReference

using GitReference = std::unique_ptr<git_reference, decltype(&git_reference_free)>

Definition at line 37 of file conversationrepository.h.

◆ GitRemote

using GitRemote = std::unique_ptr<git_remote, decltype(&git_remote_free)>

Definition at line 36 of file conversationrepository.h.

◆ GitRepository

using GitRepository = std::unique_ptr<git_repository, decltype(&git_repository_free)>

Definition at line 29 of file conversationrepository.h.

◆ GitRevWalker

using GitRevWalker = std::unique_ptr<git_revwalk, decltype(&git_revwalk_free)>

Definition at line 30 of file conversationrepository.h.

◆ GitSignature

using GitSignature = std::unique_ptr<git_signature, decltype(&git_signature_free)>

Definition at line 38 of file conversationrepository.h.

◆ GitTree

using GitTree = std::unique_ptr<git_tree, decltype(&git_tree_free)>

Definition at line 35 of file conversationrepository.h.

Function Documentation

◆ MSGPACK_ADD_ENUM()

MSGPACK_ADD_ENUM ( jami::MemberRole  )