MCPcopy Create free account
hub / github.com/acl-dev/acl / mail_object

Method mail_object

lib_acl_cpp/samples/diff/mail_object.cpp:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "mail_object.h"
3
4mail_object::mail_object(acl::diff_manager& manager, const char* key, const char* val)
5: diff_object(manager)
6, ctime_(-1)
7{
8 acl::dbuf_guard& dbuf = manager.get_dbuf();
9 key_ = dbuf.dbuf_strdup(key);
10 val_ = dbuf.dbuf_strdup(val);
11}
12
13mail_object::~mail_object()
14{

Callers

nothing calls this directly

Calls 2

get_dbufMethod · 0.80
dbuf_strdupMethod · 0.80

Tested by

no test coverage detected