| Index: common/gcloud/gs/path.go
|
| diff --git a/common/gcloud/gs/path.go b/common/gcloud/gs/path.go
|
| index 4888bb5f23691bdf090a83a87798f050958aa65a..8fb97ee68ea73b0b93a8765d74798500dd164223 100644
|
| --- a/common/gcloud/gs/path.go
|
| +++ b/common/gcloud/gs/path.go
|
| @@ -71,6 +71,12 @@ func (p Path) Split() (bucket string, filename string) {
|
| return
|
| }
|
|
|
| +// IsFullPath returns true if the Path contains both a bucket and file name.
|
| +func (p Path) IsFullPath() bool {
|
| + bucket, filename := p.Split()
|
| + return (bucket != "" && filename != "")
|
| +}
|
| +
|
| // Concat concatenates a filename component to the end of Path.
|
| //
|
| // Multiple components may be specified. In this case, each will be added as a
|
|
|