From 605e62b957a3030d67422f50d043fc00e65ff854 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 7 May 2019 20:32:05 +0100 Subject: [PATCH] [sync] add type Bucket --- src/main/scala/net/kemitix/s3thorp/Sync.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/scala/net/kemitix/s3thorp/Sync.scala b/src/main/scala/net/kemitix/s3thorp/Sync.scala index 1b6ffc3..de8bdea 100644 --- a/src/main/scala/net/kemitix/s3thorp/Sync.scala +++ b/src/main/scala/net/kemitix/s3thorp/Sync.scala @@ -20,8 +20,9 @@ object Sync extends LocalFileStream with S3MetaDataEnricher { } } yield () - type LocalPath = Path - type RemotePath = String + type Bucket = String // the S3 bucket name + type LocalPath = Path // fully qualified path to a file or directory + type RemotePath = String // path within an S3 bucket type Hash = String // an MD5 hash type LastModified = Instant // or scala equivalent