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

Use a File class to wrap file compilation logic #4

Open
3 tasks
antoniogamiz opened this issue Sep 2, 2019 · 5 comments
Open
3 tasks

Use a File class to wrap file compilation logic #4

antoniogamiz opened this issue Sep 2, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@antoniogamiz
Copy link
Collaborator

Steps to take:

  • Add a simple File class only containing four basic attributes. Something like:
class File {

   has Status  $.status;
   has Str     $.path;
   has Instant $.added;
   has Str     $.cache-key;

}
  • Integrate it in the system.
  • Add methods to compile the file, etc.
@antoniogamiz antoniogamiz added the enhancement New feature or request label Sep 2, 2019
@antoniogamiz antoniogamiz self-assigned this Sep 2, 2019
@JJ
Copy link
Collaborator

JJ commented Sep 2, 2019

Why?

@antoniogamiz
Copy link
Collaborator Author

It's a item in the TODO list...

@JJ
Copy link
Collaborator

JJ commented Sep 2, 2019

... which I added, but I'm not really sure why now...

@antoniogamiz
Copy link
Collaborator Author

To ease adding/deleting files from the cache I think. And to fix the problem with reallocation of pod files.

@JJ
Copy link
Collaborator

JJ commented Sep 2, 2019

Ah, right :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants