PCART  v1.4
Automated Repair of Python API Parameter Compatibility Issues
Classes | Namespaces | Functions
workspace.py File Reference

Go to the source code of this file.

Classes

class  RunWorkspace
 Run workspace path object PCART单次运行的工作区路径对象 More...
 

Namespaces

 workspace
 Run workspace helpers for isolating PCART execution artifacts.
 

Functions

def cleanupRunWorkspace (workspace)
 Remove one completed PCART run workspace 删除一次已完成的PCART运行工作区 More...
 
def createRunWorkspace (repoRoot, projPath, runCommand, runPath, libName, currentVersion, targetVersion, currentEnv, targetEnv, commandId='cmd-001', timestamp=None)
 Create an isolated workspace for one PCART run command 为一次PCART运行命令创建隔离工作区 More...
 
def exportRunReport (workspace)
 Export internal report files to user-visible report directory 将工作区内部报告导出到用户可见报告目录 More...
 
def getRepoRoot ()
 Get PCART repository root path 获取PCART仓库根目录路径 More...
 
def getRuntimePaths (workspace)
 Return runtime artifact paths for the current execution 返回当前执行使用的运行产物路径 More...
 
def slugifyProjectName (projPath)
 Convert project path/name to a filesystem-safe slug 将项目路径或项目名转换为可作为目录名使用的slug. More...
 
def workspaceCwd (path)
 
def writeMetadata (workspace, metadata)
 Write workspace metadata 写入运行工作区元数据 More...