When calling openTextFile, the contents of the file as it existed in the work tree's base commit need to be provided. Previously this was difficult if the file had been renamed because there was no way to determine its original path.
With this pull request we are introducing basePathForFileId to memo_js which addresses that need. If the file was not in the base commit this method returns null.
When calling
openTextFile
, the contents of the file as it existed in the work tree's base commit need to be provided. Previously this was difficult if the file had been renamed because there was no way to determine its original path.With this pull request we are introducing
basePathForFileId
to memo_js which addresses that need. If the file was not in the base commit this method returnsnull
.🍐'd with @nathansobo
/cc: @probablycorey