mango.application.mdss.listdir

mango.application.mdss.listdir(dir=None, project=None, all=False, appendType=False, dereference=False)[source]

Lists file(s) in specified MDSS directory.

Parameters:
  • dir (str) – MDSS directory path for which files are listed.
  • project (str) – NCI project identifier string, if None, uses default project (as returned from the getDefaultProject() function).
  • all (bool or str) – If True or "all" lists files/directories whose names begin with ‘.’. If almost-all lists files/directories whose names begin with ‘.’ but not the "." and ".." entries.
  • appendType (bool) – If True each name in the listing will have a character appended which indicates the type of file.
  • dereference (bool) – If True symbolic links are dereferenced in the listing.
Return type:

list of str

Returns:

MDSS directory listing.

Previous topic

mango.application.mdss.isdir

Next topic

mango.application.mdss.mkdir

This Page