Commit Graph

67 Commits

Author SHA1 Message Date
4b0af019c8 Moved session inside database. 2023-03-26 10:30:22 -04:00
ee45375085 Removed session as separate code. 2023-03-26 09:30:42 -04:00
c75bea3913 Setup initial db session. 2023-03-24 08:00:48 -04:00
40aae3ef5a Moved entry into separate file. 2023-03-22 22:41:40 -04:00
1f36848450 Moved in new mod file. 2023-03-21 18:35:42 -04:00
d4d42a599e Moved to new mod file. 2023-03-21 17:48:24 -04:00
3de5c2857b Removing old mod file. 2023-03-21 17:47:20 -04:00
418ba26da9 Stubbed out database. 2023-03-16 22:32:10 -04:00
a3d8feb37a Added cache initialization. 2023-03-14 11:32:37 -04:00
894fcbcd02 In process of separating cache from database. 2023-02-13 10:19:20 -05:00
716b559062 Began reworking cache. 2023-02-12 10:39:39 -05:00
5b291e3553 Completed making the session trait for databases. 2023-02-05 11:29:00 -05:00
60dae69788 Began abstracting functions for database sessions. 2023-02-04 14:29:07 -05:00
77c0f9f189 Removed session so it is part of the database. 2023-02-02 21:55:18 -05:00
ca418136a7 Added db session. 2023-02-01 07:59:15 -05:00
6e6de135ef Added FileData trait to Databases. 2023-01-22 14:15:34 -05:00
878e5277bf Added databases structure. 2023-01-21 21:46:39 -05:00
cef9843720 Consolidated code. 2023-01-20 09:34:35 -05:00
809bcb641b Added an entry point to the database. 2023-01-16 12:07:33 -05:00
b5b0016aba Began work to add entry point. 2023-01-11 09:10:15 -05:00
58aba1a565 Added Record to cachetype. 2022-12-31 19:35:02 -05:00
4914754f43 Moved cachetype into seperate module. 2022-12-30 22:39:19 -05:00
085972060b Added delete error. 2022-12-29 08:08:21 -05:00
a22207f3b3 Added delete entry. 2022-12-28 18:21:32 -05:00
6229671212 Refactor 2022-12-27 15:41:49 -05:00
5e0faf4da8 Removes unused entries from memory. 2022-12-26 17:48:50 -05:00
d3f53422df Refactored common filename function. 2022-12-24 11:30:45 -05:00
fe29841ffe Get cache updates time. 2022-12-24 10:28:49 -05:00
56005a5e47 Added time updates to CacheEntry. 2022-12-24 02:03:20 -05:00
f0f8e7455e Added last access time to cache. 2022-12-21 10:27:16 -05:00
3164da0f4c Reads cache entry from the drive. 2022-12-19 15:21:07 -05:00
1403aaa935 Added file errors to update entry. 2022-12-19 10:33:04 -05:00
96ed474568 update_entry updates file. 2022-12-19 08:12:32 -05:00
3e203b40c0 Added io errors to add_entry. 2022-12-18 11:12:58 -05:00
83e3b2ef9e Removed duplicate ids. 2022-12-16 08:22:36 -05:00
ab30604033 Writes out contents of the cache. 2022-12-15 12:20:40 -05:00
947adf6c1d Writes out contents of the cache. 2022-12-13 07:19:05 -05:00
8db7a6d9bf Turn cache entry into writable bytes. 2022-12-11 09:34:07 -05:00
eb97e3399a Added cache entry identifier. 2022-12-10 09:26:06 -05:00
470c6612de Formatting. 2022-12-08 11:08:05 -05:00
fcec57414a Added cache update function. 2022-12-08 10:58:29 -05:00
d73a18be2d Added error for missing cache entry. 2022-12-06 11:42:11 -05:00
bdcee41dcf Return a cache entry. 2022-12-05 23:23:39 -05:00
4f73a31cf0 Added random cache ids. 2022-12-05 23:21:13 -05:00
47b9a071a4 Added random cache ids. 2022-12-04 11:09:56 -05:00
14c6c9dffe Refactored test database setup. 2022-12-03 10:22:54 -05:00
8f704844c3 added add_cache function. 2022-12-03 09:15:58 -05:00
4e4344624e Improved error message. 2022-12-03 08:26:21 -05:00
8eb916771e Sloppy update. 2022-12-02 10:34:45 -05:00
2da67487b5 Got use to return a database. 2022-10-31 10:01:07 -04:00