raggrep 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/main.js +50 -2
- package/dist/cli/main.js.map +5 -5
- package/dist/index.js +49 -1
- package/dist/index.js.map +5 -5
- package/dist/infrastructure/storage/literalIndex.d.ts +8 -0
- package/package.json +1 -1
|
@@ -46,6 +46,14 @@ export declare class LiteralIndex {
|
|
|
46
46
|
* @param chunkId - Chunk ID to remove
|
|
47
47
|
*/
|
|
48
48
|
removeChunk(chunkId: string): void;
|
|
49
|
+
/**
|
|
50
|
+
* Remove all literals for a file.
|
|
51
|
+
* Used when a file is re-indexed or deleted.
|
|
52
|
+
*
|
|
53
|
+
* @param filepath - Filepath to remove all literals for
|
|
54
|
+
* @returns Number of literals removed
|
|
55
|
+
*/
|
|
56
|
+
removeFile(filepath: string): number;
|
|
49
57
|
/**
|
|
50
58
|
* Find matches for query literals.
|
|
51
59
|
*
|