This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85a5e68
commit 44886b3
Showing
27 changed files
with
100 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...rc/main/kotlin/com/deflatedpickle/quiver/backend/api/exceptions/UnsupportedPackVersion.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
core/src/main/kotlin/com/deflatedpickle/quiver/backend/extension/OSUtil.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
/* Copyright (c) 2021 DeflatedPickle under the MIT license */ | ||
|
||
package com.deflatedpickle.quiver.backend.extension | ||
|
||
import com.deflatedpickle.quiver.backend.util.Filters | ||
import com.deflatedpickle.marvin.util.OSUtil | ||
import com.deflatedpickle.quiver.backend.util.Filters | ||
import so.madprogrammer.PatternFilter | ||
|
||
fun OSUtil.OS.toPatternFilter(): PatternFilter = if (this == OSUtil.OS.WINDOWS) { | ||
Filters.PATH_WINDOWS | ||
} else { | ||
Filters.PATH_UNIX | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packexport/src/main/kotlin/com/deflatedpickle/quiver/packexport/api/BulkExportStep.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
/* Copyright (c) 2021 DeflatedPickle under the MIT license */ | ||
|
||
package com.deflatedpickle.quiver.packexport.api | ||
|
||
/** | ||
* A step during exporting that is run on the pack as a whole | ||
*/ | ||
abstract class BulkExportStep : ExportStep { | ||
override fun toString(): String = "BulkExportStep( ${getSlug()}: ${getType()} )" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...xport/src/main/kotlin/com/deflatedpickle/quiver/packexport/event/EventFinishExportStep.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
/* Copyright (c) 2021 DeflatedPickle under the MIT license */ | ||
|
||
package com.deflatedpickle.quiver.packexport.event | ||
|
||
import com.deflatedpickle.haruhi.api.event.AbstractEvent | ||
import com.deflatedpickle.quiver.packexport.api.ExportStep | ||
|
||
object EventFinishExportStep : AbstractEvent<ExportStep>() | ||
object EventFinishExportStep : AbstractEvent<ExportStep>() |
4 changes: 3 additions & 1 deletion
4
...ort/src/main/kotlin/com/deflatedpickle/quiver/packexport/event/EventStartingExportStep.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
/* Copyright (c) 2021 DeflatedPickle under the MIT license */ | ||
|
||
package com.deflatedpickle.quiver.packexport.event | ||
|
||
import com.deflatedpickle.haruhi.api.event.AbstractEvent | ||
import com.deflatedpickle.quiver.packexport.api.ExportStep | ||
|
||
object EventStartingExportStep : AbstractEvent<ExportStep>() | ||
object EventStartingExportStep : AbstractEvent<ExportStep>() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.