Skip to content

Commit

Permalink
Added Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joeinman committed Sep 1, 2023
1 parent a9c41dc commit eb52466
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/FlashKV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@

namespace FlashKV
{

// ---------------------------------------- F L A S H K V C L A S S ---------------------------------------- //

FlashKV::FlashKV(FlashWriteFunction flashWriteFunction,
FlashReadFunction flashReadFunc,
FlashEraseFunction flashEraseFunction,
Expand Down Expand Up @@ -137,6 +140,10 @@ namespace FlashKV
return keys;
}

// --------------------------------------------------------------------------------------------------------------------- //

// -------------------------------------- H E L P E R F U N C T I O N S --------------------------------------- //

bool FlashKV::verifySignature()
{
uint8_t signature[FLASHKV_SIGNATURE_SIZE];
Expand Down Expand Up @@ -195,4 +202,6 @@ namespace FlashKV
return std::make_pair(offset - initialOffset, KeyValue{key, value});
}

// --------------------------------------------------------------------------------------------------------------------- //

} // namespace FlashKV

0 comments on commit eb52466

Please sign in to comment.