AdventOfCodeHelper.FileCache (advent_of_code_helper v0.2.0)
Contains all the logic for reading/writing files on disk
Link to this section Summary
Functions
Gets file from cache, should we have it stored
Checks to see if we have a puzzle input cached
Saves puzzle input to file for later usage
Link to this section Functions
Link to this function
get_file(year, day)
Gets file from cache, should we have it stored
Parameters
- Year: year of puzzle
- Day: day of puzzle
Link to this function
in_cache?(year, day)
Checks to see if we have a puzzle input cached
Parameters
- year: year of puzzle
- day: day of puzzle
Link to this function
save_file(year, day, content)
Saves puzzle input to file for later usage
Parameters
- Year: Int year of puzzle
- Day: Int day of puzzle
- Content: Puzzle input