-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTester.java
More file actions
30 lines (26 loc) · 1 KB
/
Tester.java
File metadata and controls
30 lines (26 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
public class Tester {
public static void main(String[] args) throws IOException, NoSuchAlgorithmException {
Git.createTestFiles();
// Git.rmRepo();
// Git.initRepo();
Git.compression(false);//compression doesnt work rn
Git.resetRepo();
// Git.createBlob("testFiles/f1.txt");
// Git.createBlob("testFiles/f2.txt");
// Git.createBlob("testFiles/f3.txt");
// Git.createBlob("testFiles/f1.txt");
// Git.checkBlobExists("testFiles/f1.txt");
// Git.checkBlobExists("testFiles/f2.txt");
// Git.checkBlobExists("testFiles/f3.txt");
// ADD FILES TO INDEX
Git.addIndex("f0.txt");
Git.addIndex("f1.txt");
Git.addIndex("testFiles/f2.txt");
Git.addIndex("testFiles/f3.txt");
Git.addIndex("testFiles/testFiles2/f4.txt");
Git.addIndex("testFiles/testFiles2/f5.txt");
Git.buildTree();
}
}