cwltool.stdfsaccess

Abstracted IO access.

Module Contents

Classes

StdFsAccess

Local filesystem implementation.

Functions

abspath(src, basedir)

cwltool.stdfsaccess.abspath(src, basedir)
Parameters
  • src (str) –

  • basedir (str) –

Return type

str

class cwltool.stdfsaccess.StdFsAccess(basedir)

Local filesystem implementation.

Parameters

basedir (str) –

glob(self, pattern)
Parameters

pattern (str) –

Return type

List[str]

open(self, fn, mode)
Parameters
  • fn (str) –

  • mode (str) –

Return type

IO[Any]

exists(self, fn)
Parameters

fn (str) –

Return type

bool

size(self, fn)
Parameters

fn (str) –

Return type

int

isfile(self, fn)
Parameters

fn (str) –

Return type

bool

isdir(self, fn)
Parameters

fn (str) –

Return type

bool

listdir(self, fn)
Parameters

fn (str) –

Return type

List[str]

join(self, path, *paths)
Parameters
  • self (str) –

  • path (str) –

Return type

str

realpath(self, path)
Parameters

path (str) –

Return type

str