wfexs_backend.utils.contents
#
Module Contents#
Functions#
The signatureMethod tells whether to generate a signature and fill-in the new signature element from GeneratedDirectoryContent tuple |
|
The signatureMethod tells whether to generate a signature and fill-in the new signature element from GeneratedDirectoryContent tuple |
|
This method generates either a GeneratedContent or a GeneratedDirectoryContent from a MaterializedContent |
|
This method generates either a GeneratedContent or a GeneratedDirectoryContent from a MaterializedContent |
|
Data#
API#
- wfexs_backend.utils.contents.GetGeneratedDirectoryContent(thePath: wfexs_backend.common.PathLikePath, uri: LicensedURI | None = None, preferredFilename: RelPath | None = None, signatureMethod: FingerprintMethod | None = None) wfexs_backend.common.GeneratedDirectoryContent #
The signatureMethod tells whether to generate a signature and fill-in the new signature element from GeneratedDirectoryContent tuple
- wfexs_backend.utils.contents.GetGeneratedDirectoryContentFromList(thePath: wfexs_backend.common.PathLikePath, theValues: Sequence[AbstractGeneratedContent], uri: LicensedURI | None = None, preferredFilename: RelPath | None = None, secondaryFiles: Sequence[AbstractGeneratedContent] | None = None, signatureMethod: FingerprintMethod | None = None) wfexs_backend.common.GeneratedDirectoryContent #
The signatureMethod tells whether to generate a signature and fill-in the new signature element from GeneratedDirectoryContent tuple
- wfexs_backend.utils.contents.MaterializedContent2AbstractGeneratedContent(mat_content: wfexs_backend.common.MaterializedContent, preferredFilename: RelPath | None = None, signatureMethod: FingerprintMethod | None = nihDigester) wfexs_backend.common.AbstractGeneratedContent #
This method generates either a GeneratedContent or a GeneratedDirectoryContent from a MaterializedContent
- wfexs_backend.utils.contents.Path2AbstractGeneratedContent(content: pathlib.Path, preferredFilename: RelPath | None = None, signatureMethod: FingerprintMethod | None = nihDigester) wfexs_backend.common.AbstractGeneratedContent #
This method generates either a GeneratedContent or a GeneratedDirectoryContent from a MaterializedContent
- wfexs_backend.utils.contents.CWLClass2WfExS = None#
- wfexs_backend.utils.contents.CWLDesc2Content(cwlDescs: Mapping[str, Any] | Sequence[Mapping[str, Any]], logger: logging.Logger, expectedOutput: ExpectedOutput | None = None, doGenerateSignatures: bool = False) Sequence[AbstractGeneratedContent] #
- wfexs_backend.utils.contents.copy2_nofollow(src: wfexs_backend.common.PathLikePath, dest: wfexs_backend.common.PathLikePath) None #
- wfexs_backend.utils.contents.copy_nofollow(src: wfexs_backend.common.PathLikePath, dest: wfexs_backend.common.PathLikePath) None #
- wfexs_backend.utils.contents.link_or_copy(src: wfexs_backend.common.PathLikePath, dest: wfexs_backend.common.PathLikePath, force_copy: bool = False, preserve_attrs: bool = True) None #
- wfexs_backend.utils.contents.link_or_copy_pathlib(src: pathlib.Path, dest: pathlib.Path, force_copy: bool = False, preserve_attrs: bool = True) None #
- wfexs_backend.utils.contents.link_or_symlink_pathlib(src: pathlib.Path, dest: pathlib.Path, force_symlink: bool = False) None #