Skip to content

Commit

Permalink
Broken: move more code to dolos-core
Browse files Browse the repository at this point in the history
  • Loading branch information
rien committed Sep 20, 2024
1 parent 3313bc0 commit e48c7c4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions core/src/algorithm/fingerprintIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class FingerprintIndex {
// A set of ignored hashes (either manually added, or through the ignored files, NOT because of maxFileCount)
private readonly ignoredHashes: Set<number>;


/**
* Creates a Fingerprint Index which is able to compare files with each other
* based on their winnowed fingerprints (kgrams of tokens).
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export * from "@dodona/dolos-core";

export * from "./lib/dolos.js";
export * from "./lib/language.js";
export * from "./lib/options.js";
export * from "../../core/src/options.js";
export * from "./lib/report.js";
export * from "./lib/reader.js";
export * from "./lib/tokenizer/charTokenizer.js";
Expand Down
2 changes: 1 addition & 1 deletion lib/src/lib/dolos.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Report } from "./report.js";
import { CustomOptions, Options } from "./options.js";
import { CustomOptions, Options } from "../../../core/src/options.js";
import { Tokenizer } from "./tokenizer/tokenizer.js";
import { Language, LanguagePicker } from "./language.js";
import { readFiles, readPath } from "./reader.js";
Expand Down
2 changes: 1 addition & 1 deletion lib/src/lib/report.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TokenizedFile, FingerprintIndex, Pair, SharedFingerprint, FileEntry } from "@dodona/dolos-core";
import { DolosOptions, Options } from "./options.js";
import { DolosOptions, Options } from "../../../core/src/options.js";
import { Language } from "./language.js";

export interface Metadata extends DolosOptions {
Expand Down

0 comments on commit e48c7c4

Please sign in to comment.