0
tree_id에 대한 파일 목록을 가져 오는 방법이 있습니까?AWS codeCommit의 tree_id에서 파일 목록 가져 오기
사실 나는 이것을 할 올바른 방법을 찾을 수 없습니다! 나는 tree_id 넘어 갈 수 없어!
{
"commitId": "string",
"repositoryName": "string"
}
응답 당신의 도움이
tree_id에 대한 파일 목록을 가져 오는 방법이 있습니까?AWS codeCommit의 tree_id에서 파일 목록 가져 오기
사실 나는 이것을 할 올바른 방법을 찾을 수 없습니다! 나는 tree_id 넘어 갈 수 없어!
{
"commitId": "string",
"repositoryName": "string"
}
응답 당신의 도움이
AWS CodeCommit에 대한
{
"commit": {
"additionalData": "string",
"author": {
"date": "string",
"email": "string",
"name": "string"
},
"committer": {
"date": "string",
"email": "string",
"name": "string"
},
"message": "string",
"parents": [ "string" ],
"treeId": "string"
}
}
덕분에 현재이 사용하는 특정 API를 가지고 있지 않습니다. 그러나 GetDifferences API는 재귀 트리 워크를 수행합니다. 따라서 beforeCommitSpecifier로 null을 전달하면 afterCommitSpecifier 값 이전의 모든 변경 사항이 표시되고 파일 이름이 응답에 포함됩니다. GetDifferences API에 대한 설명서는 다음과 같습니다. http://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetDifferences.html