Skip to content

Commit

Permalink
feat(cache): Add cache for detection results
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Kucherenko committed Aug 16, 2018
1 parent 4b049a2 commit 41ffaf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Empty file added src/clone/index.ts
Empty file.
8 changes: 8 additions & 0 deletions src/stores/models.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export const CLONES_DB = 'clones';
export const SOURCES_DB = 'sources';
export const STATISTIC_DB = 'statistic';
export const HASHES_DB_PREFIX = 'hashes.';

export function getHashDbName(format: string): string {
return HASHES_DB_PREFIX + format;
}

0 comments on commit 41ffaf4

Please sign in to comment.