commit | bf15d7344f87ed7169b1e54279c062aafd2fb2ef | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Tue Dec 08 10:35:26 2020 -0800 |
committer | Janis Danisevskis <jdanis@google.com> | Mon Dec 14 16:54:49 2020 -0800 |
tree | 32a7ccb1a21b5c9aad62f3db7e16fb3e065051a3 | |
parent | 989121b4e27d450053a785140ed246c8edb76bcf [diff] |
Keystore 2.0: Revise database. * Make grants persistent. * Moved some utility functions to db_utils.rs. * KeystoreDB::new() now takes a path argument that indicates where the the database files are to be expected. * A new test module test::utils.rs introduces TempDir which creates a new temporary directory that is cleaned up with all of its content when the TempDir opject is dropped. Test: keystore2_test Change-Id: I056c404fd9d592ddc8b531394b1c6cc17a0fd736