Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Mar 30, 2024
1 parent 1df732d commit 08b21ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion opencog/persist/rocks/RocksDAG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ HandleSeq RocksStorage::loadFrameDAG(void)
return tops;
}

/// Load the entire collection of AtomSpace frames.
/// Store the entire collection of AtomSpace frames.
void RocksStorage::storeFrameDAG(AtomSpace* top)
{
CHECK_OPEN;
Expand Down
4 changes: 4 additions & 0 deletions opencog/persist/rocks/RocksFrame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ void RocksStorage::deleteFrame(AtomSpace* frame)

// ======================================================================

// If the existing open database is not in multi-space format, then
// convert it to the multi-space format. This requires looping over
// all keys in the database, and changing their format: the key
// indexes must now include an ID of which AtomSpace they belong to.
void RocksStorage::convertForFrames(const Handle& top)
{
if (_multi_space) return;
Expand Down

0 comments on commit 08b21ed

Please sign in to comment.