-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only apply the FixedInputStream check when staging files
Signed-off-by: Tom Sellman <[email protected]>
- Loading branch information
1 parent
0c9b333
commit 6830712
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
modules/nf-commons/src/main/nextflow/file/ForeignOpenOption.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package nextflow.file; | ||
|
||
import java.nio.file.OpenOption; | ||
|
||
/** | ||
* File open options for remote (foreign) file systems | ||
*/ | ||
public enum ForeignOpenOption implements OpenOption { | ||
/** | ||
* This option causes an exception to be thrown if the file {@link java.io.InputStream} | ||
* is closed before all the data has been read. | ||
*/ | ||
FULL_DOWNLOAD | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters