Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Tern to save to and load from FileData information from the cache #574

Closed
nishakm opened this issue Mar 9, 2020 · 1 comment · Fixed by #575
Closed

Allow Tern to save to and load from FileData information from the cache #574

nishakm opened this issue Mar 9, 2020 · 1 comment · Fixed by #575
Labels
assigned This issue has been assigned to someone who is actively working on it
Milestone

Comments

@nishakm
Copy link
Contributor

nishakm commented Mar 9, 2020

Description
Although Tern can now collect FileData information and save it to the cache, it cannot load it from the cache.

To Do

  1. Create a fill method for FileData class similar to the fill method in the Package class.
  2. Update the load_from_cache function in common.py to create FileData objects from information in the cache per layer.

Super Issues
#480

@PrajwalM2212
Copy link
Contributor

Working on it.

@nishakm nishakm added the assigned This issue has been assigned to someone who is actively working on it label Mar 9, 2020
@nishakm nishakm added this to the Release 1.1.0 milestone Mar 9, 2020
PrajwalM2212 added a commit to PrajwalM2212/tern that referenced this issue Mar 9, 2020
This PR adds the functionality to load FileData information from the cache.
A new function get_files has been added in cache.py.
fill method has been added in FileData class.
Appropriate tests have been added

Closes tern-tools#574

Signed-off-by: PrajwalM2212 <[email protected]>
PrajwalM2212 added a commit to PrajwalM2212/tern that referenced this issue Mar 9, 2020
This PR adds the functionality to load FileData information from the cache.
A new function get_files has been added in cache.py.
fill method has been added in FileData class.
Appropriate tests have been added

Closes tern-tools#574

Signed-off-by: PrajwalM2212 <[email protected]>
PrajwalM2212 added a commit to PrajwalM2212/tern that referenced this issue Mar 9, 2020
This PR adds the functionality to load FileData information from the cache.
A new function get_files has been added in cache.py.
fill method has been added in FileData class.
Appropriate tests have been added

Closes tern-tools#574

Signed-off-by: PrajwalM2212 <[email protected]>
PrajwalM2212 added a commit to PrajwalM2212/tern that referenced this issue Mar 9, 2020
This PR adds the functionality to load FileData information from the cache.
A new function get_files has been added in cache.py.
fill method has been added in FileData class.
Appropriate tests have been added

Closes tern-tools#574

Signed-off-by: PrajwalM2212 <[email protected]>
PrajwalM2212 added a commit to PrajwalM2212/tern that referenced this issue Mar 9, 2020
This PR adds the functionality to load FileData
information from the cache. A new function get_files
has been added in cache.py.
fill method has been added in FileData class.
Appropriate tests have been added

Closes tern-tools#574

Signed-off-by: PrajwalM2212 <[email protected]>

fix
nishakm pushed a commit that referenced this issue Mar 9, 2020
This PR adds the functionality to load FileData
information from the cache. A new function get_files
has been added in cache.py.
fill method has been added in FileData class.
Appropriate tests have been added

Closes #574

Signed-off-by: PrajwalM2212 <[email protected]>

fix
rnjudge pushed a commit to rnjudge/tern that referenced this issue Jun 5, 2020
This PR adds the functionality to load FileData
information from the cache. A new function get_files
has been added in cache.py.
fill method has been added in FileData class.
Appropriate tests have been added

Closes tern-tools#574

Signed-off-by: PrajwalM2212 <[email protected]>

fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned This issue has been assigned to someone who is actively working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants