You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
えらーがはっせいしちゃいました 何が原因か調べてみます
Loading commit with hash: 116bef9202546407befeb4f3d6f5dbbafa03b99a
Error during commit debug process: Error: ENOENT: no such file or directory, open '/Users/murasakimasato/Documents/GitHub/git-intern-2025-term1/example/.git/objects/11/6bef9202546407befeb4f3d6f5dbbafa03b99a'
at Object.openSync (node:fs:563:18)
at Object.readFileSync (node:fs:447:35)
at loadCommit (/Users/murasakimasato/Documents/GitHub/git-intern-2025-term1/src/commit.ts:13:22)
at debugCommit (/Users/murasakimasato/Documents/GitHub/git-intern-2025-term1/src/scripts/debug/commit.ts:6:20)
at (/Users/murasakimasato/Documents/GitHub/git-intern-2025-term1/src/scripts/debug/commit.ts:19:1)
at ModuleJob.run (node:internal/modules/esm/module_job:274:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:644:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:98:5) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/murasakimasato/Documents/GitHub/git-intern-2025-term1/example/.git/objects/11/6bef9202546407befeb4f3d6f5dbbafa03b99a'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Commit オブジェクトを管理する
GitCommitObjectインタフェースと、それを呼び出すloadCommit、書き出すsaveCommitを実装した。注意
author, commiter については固定値になっています。
Debug
exampleフォルダ内でイカを実行してください。内部では load -> save の順で動作しています。エラーが発生しなかったら OK。