scanoss / ldb

SCANOSS LDB (Linked-list database)
11 stars 8 forks source link

How to read .ldb file #42

Closed xu1119 closed 2 weeks ago

xu1119 commented 3 weeks ago

How can I obtain all the keys in the ldb database for query, and how to read the contents of the .ldb file directly?

mscasso-scanoss commented 3 weeks ago

Hi @xu1119, thank you for your question. The content inside a '.ldb' file cannot be read directly since it's not stored in plain text format. However, you can use the LDB commands 'dump' and 'dump keys' to query all the information within a sector or view all sector keys.

Please feel free to close the issue if you consider it resolved. Best regards, Mariano