cwltool.stdfsaccess

Abstracted IO access.

Module Contents

Classes

StdFsAccess

Local filesystem implementation.

Functions

abspath(src, basedir)

cwltool.stdfsaccess.abspath(src, basedir)
Parameters:
Return type:

str

class cwltool.stdfsaccess.StdFsAccess(basedir)

Local filesystem implementation.

Parameters:

basedir (str)

glob(pattern)
Parameters:

pattern (str)

Return type:

List[str]

open(fn, mode)
Parameters:
Return type:

IO[Any]

exists(fn)
Parameters:

fn (str)

Return type:

bool

size(fn)
Parameters:

fn (str)

Return type:

int

isfile(fn)
Parameters:

fn (str)

Return type:

bool

isdir(fn)
Parameters:

fn (str)

Return type:

bool

listdir(fn)
Parameters:

fn (str)

Return type:

List[str]

join(path, *paths)
Parameters:
Return type:

str

realpath(path)
Parameters:

path (str)

Return type:

str