Skip to content

Commit

Permalink
add UnphiMojo cache implementation todo
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemGet committed Jan 8, 2025
1 parent ae78819 commit dda7c74
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eo-maven-plugin/src/main/java/org/eolang/maven/UnphiMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
/**
* Read PHI files and parse them to the XMIR.
* @since 0.34.0
* @todo #3708:60min implement cache.
* I assume that files received from dir via Walk should be synced with tojos:
* 1) File is not present in tojos ->
* add file to tojos with column PHI equals Path of the file.
* 2) File is present in tojos and not unphied
* (XMIR is younger that PHI or XMIR doesn't exist or PHI doesn't exist) ->
* add column PHI equals Path of the file if not exists.
* When all files are synced we should pass all not unphied tojos to the
* {@code FpDefault} reusing existing unPhi logic
*/
@Mojo(
name = "phi-to-xmir",
Expand Down

0 comments on commit dda7c74

Please sign in to comment.