Dree
Dree copied to clipboard
One single package for visualization, debugging, and exploration of folder hierarchies
Come up with plan and implementation of level wise dree printing. (Maybe BFS)
Come up with plan of writing unit tests for already built methods.
Back Navigation to parent or grand parent directory needs to be added.
Is there any alternative to Ncurses which can easily be made responsive?
Dree loading can be optimised using parallel computing. We can try implementing this.
This PR declares all of the single argument constructors as `explicit`. This makes the _implicit conversion_ impossible. Cf. - [C++ best practices](https://github.com/cpp-best-practices/cppbestpractices/blob/master/03-Style.md#single-parameter-constructors), - [iso c++](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c46-by-default-declare-single-argument-constructors-explicit).
Why not to add some simple CI? A very simple workflow could look like this: ```yml --- name: build 'on': workflow_dispatch: push: branches: - main pull_request: jobs: build: runs-on: ubuntu-latest...
Memory allocated in: - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L57 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L61 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L70 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L73 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L80 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L87 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L89 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L92 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L101 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/main.cpp#L105 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/controller/SearchController.cpp#L13 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/model/DreeLoader.cpp#L12 - https://github.com/ujjwall-R/Dree/blob/bfa66d13db20cf28ed3ee2903dcd6f634a092721/src/model/DreeLoader.cpp#L33 -...