toExistentHash -> readExistentHash
Add todo
toTree now takes obj; renamed objToTree
Make i.read() read file, add i.strToObj to create path obj
Use i.objToTree and i.strToObj to process index
getTreeHash -> readTreeHash
refs.localHeads -> readLocalHeads
refs.exists -> refs.readExists
index.hasFile -> index.readHasFile
index.addFile -> index.writeFile
objects.exists -> objects.readExists
head.currentBranchName -> head.readCurrentBranchName
objects.readTreeHash -> treeHash
files.createFilesFromTree -> writeFilesFromTree
objects.commitContent -> composeCommit
Typo
todos done
Replace concat("\n") w clearer + "\n"
todos done
Replace contents w str when it clarifies type expected