Add ValidProject.arbitraryFilesHash

This commit is contained in:
Jeroen Engels 2023-06-01 12:51:51 +02:00
parent f298bca75c
commit 5df0dade89

View File

@ -4,6 +4,7 @@ module Review.Project.Valid exposing
, addParsedModule
, addReadme
, arbitraryFiles
, arbitraryFilesHash
, dependencies
, dependenciesHash
, directDependencies
@ -317,6 +318,11 @@ arbitraryFiles (ValidProject project) =
List.map Tuple.first project.arbitraryFiles
arbitraryFilesHash : ValidProject -> List ContentHash
arbitraryFilesHash (ValidProject project) =
List.map Tuple.second project.arbitraryFiles
dependencies : ValidProject -> Dict String Dependency
dependencies (ValidProject project) =
project.dependencies