core¶
This is the osc core module.
basic structures¶
-
class
osc.core.File(name, md5, size, mtime, skipped=False)¶ represent a file, including its metadata
-
class
osc.core.Serviceinfo¶ Source service content
-
read(serviceinfo_node, append=False)¶ read in the source services <services> element passed as elementtree node.
-
-
class
osc.core.Linkinfo¶ linkinfo metadata (which is part of the xml representing a directory
-
haserror()¶ returns True if the link is in error state (could not be applied)
-
isexpanded()¶ returns True if the package is an expanded link
-
islink()¶ returns True if the linkinfo is not empty, otherwise False
-
read(linkinfo_node)¶ read in the linkinfo metadata from the <linkinfo> element passed as elementtree node. If the passed element is None, the method does nothing.
-