Posts made by Itamar Tzadok

Why don't you use $fs->get_area_files? From within your module you should have the contextid, component, filearea (and itemid if needed). You get all the files in that area, find the none-directory one you need by name and get its content by get_content. smile

Not sure that that was in your query but you can have inner git directories. You clone a repo and move it inside a directory that is already a git repo (e.g. moodle) and in the parent directory go to .git/info/exclude and add that innder directory path. Then when you update the parent it will ignore the inner one. And you can go into the inner one and update it from its own master repo. smile