Skip to content

Commit

Permalink
Misc; mostly cues to myself for when I'm able to work better.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgets committed Jul 3, 2018
1 parent aa26e8c commit 274ab54
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="C:/Users/DSontag/src/java/commons-compress-1.16.1/commons-compress-1.16.1.jar"/>
<classpathentry kind="lib" path="/home/sprite/src/lib/commons-compress-1.16.1/commons-compress-1.16.1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
11 changes: 11 additions & 0 deletions src/MyArchive.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,17 @@ public HashMap<String, Boolean> getEntryHash() throws Exception {
return entryData;
}

/*
* This is the method that we're going to have to use for things to work
* as I originally intended. Obviously we can't recurse into the sub-
* archives if we don't unroll things first.
*
* Of course we _could_ set an option to minimize space used, if only a
* listing of all recursed contents are required; it could be implemented
* by selectively unrolling only internal archives, leaving non-archives
* alone. Then ad infinitum, of course, with the recursion.
*
*/
public void unroll() throws Exception {
ArchiveEntry entry;
File currentFile, parentFile;
Expand Down
17 changes: 17 additions & 0 deletions src/Settings.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
*
*/

/**
* @author sprite
*
*/
public class Settings {
//here's what we'll be implementing right away
public Boolean verbose;
public Boolean minimizeSpaceUsage;

//here's schitt to work with in the future
public String workingDirectory;

}

0 comments on commit 274ab54

Please sign in to comment.