Skip to content

Commit

Permalink
println
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Sep 11, 2023
1 parent 31733ea commit 53d86c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pkg-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: read-all

jobs:
build:
name: Test
name: Package Test
permissions:
contents: read
id-token: write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,10 @@ class QuiltPackage {

List<String> relativeChildren(String subpath) {
Set<String> keys = packageManifest().getEntries().keySet()
println("relativeChildren[${subpath}]: ${keys}")
log.debug("relativeChildren[${subpath}]: ${keys}")
Collection children = keys.findResults { String key ->
key.startsWith(subpath) ? key : null
}
println("relativeChildren.children: ${children}")
return children as List<String>
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class QuiltFileSystemProvider extends FileSystemProvider implements FileSystemTr
static boolean localProvider(Path path) {
FileSystemProvider provider = provider(path)
String providerName = provider?.class?.name?.toLowerCase() ?: '-'
log.debug("QuiltFileSystemProvider.localProvider[${path}] -> ${providerName}")
println("QuiltFileSystemProvider.localProvider[${path}] -> ${providerName}")
return providerName.startsWith("unix") || providerName.startsWith("win") ||\
providerName.startsWith("mac") || providerName.startsWith("fat")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class QuiltNioTest extends QuiltSpecification {
then:
!attrs.isRegularFile()
attrs.isDirectory()
attrs.size() == 128
attrs.size() > 100
!attrs.isSymbolicLink()
!attrs.isOther()
attrs.fileKey() == root
Expand Down Expand Up @@ -216,14 +216,11 @@ class QuiltNioTest extends QuiltSpecification {
void 'move a remote file to a bucket'() {
given:
Path path = Paths.get(new URI(WRITE_URL))
println("QuiltNioTest:move:path $path")
final source_url = WRITE_URL.replace('folder', 'source')
final source = Paths.get(new URI(source_url))
println("QuiltNioTest:move:source $source")
Files.write(source, TEXT.bytes)
and:
Files.move(source, path)
println("QuiltNioTest:move: $source -> $path")
expect:
!existsPath(source)
existsPath(path)
Expand Down

0 comments on commit 53d86c9

Please sign in to comment.