by Marcus Green.
You are probably asking in the wrong place. Totara is a fork of Moodle and I believe that currently source code is not publicly available. The people who are most likely to be able to answer your question are the people who produce Totara. The chances are that it is highly compatible at the moment and will gradually become slightly less compatible over time.