Skip to content

Commit

Permalink
Updated PR with rebasing and renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Azher2Ali committed Jul 18, 2024
1 parent f4314ba commit 280d77d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;

/**
* See
* https://wiki.oicr.on.ca/display/DCCSOFT/Uniform+metadata+JSON+document+for+ICGC+Data+Repositories#
* UniformmetadataJSONdocumentforICGCDataRepositories-Manifestfileformatfordownloader
*/
@Value
public class DownloadManifest {
@NonNull private final List<ManifestEntry> entries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@

public class StorageFileStore extends FileStore {

public static final String ICGCFS = "icgcfs";
public static final String SCOREFS = "scorefs";

@Override
public String type() {
return ICGCFS;
return SCOREFS;
}

@Override
Expand All @@ -43,7 +43,7 @@ public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type

@Override
public String name() {
return "icgc";
return "score";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class StorageFileSystemProvider extends ReadOnlyFileSystemProvider {

@Override
public String getScheme() {
return "icgc";
return "score";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public StorageFileSystem newFileSystem(@NonNull StorageContext context)
public StorageFileSystem newFileSystem(@NonNull StorageContext context, Map<String, ?> env)
throws IOException, URISyntaxException {
val provider = new StorageFileSystemProvider(context);
val uri = new URI("icgc://storage");
val uri = new URI("score://storage");

return (StorageFileSystem) provider.newFileSystem(uri, env);
}
Expand Down

0 comments on commit 280d77d

Please sign in to comment.