Skip to content

Commit

Permalink
subpath listing method prefix argument should be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Feb 5, 2024
1 parent 962a11d commit 8dab515
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "org.veupathdb.lib.s3"
version = "0.10.3"
version = "0.11.0"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ interface ObjectContainer {

// region List Sub Dirs

fun listSubPaths(prefix: String, delimiter: String = "/"): SubPathListing
fun listSubPaths(prefix: String? = null, delimiter: String = "/"): SubPathListing

fun listSubPaths(action: SubPathListParams.() -> Unit): SubPathListing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface SubPathListParams : RegionRequestParams {
/**
* Filtering prefix for the paths to return.
*/
var prefix: String
var prefix: String?

/**
* Key/path delimiter.
Expand Down

0 comments on commit 8dab515

Please sign in to comment.