The post asks if there is a way to index a local repository similar to GitHub's reader, which provides all the metadata. In the comments, a community member suggests using codesplitter and SimpleDirectoryReader to recursively read the local code. Another community member tried this approach but encountered issues with the code splitting. They provided some sample code demonstrating the process of reading the documents, parsing them, and indexing the nodes. However, there is no explicitly marked answer in the comments.
@WhiteFang_Jr hey i tried with simple directory and code split but its not able to code split def dir_reader(path): logger.debug(f"Reading from {path}") documents= SimpleDirectoryReader(input_dir=path, recursive=True).load_data() return documents