-- Generated by scripts/generate.mjs. Do not edit. module Dagger.DiffStat ( addedLines , id , kind_ , oldPath , path , removedLines ) where import Data.Maybe (Maybe) import Effect.Aff (Aff) import Dagger.Internal.Runtime as R import Dagger.Types as T -- | Number of added lines for this path. addedLines :: T.DiffStat -> Aff Int addedLines = R.scalar "addedLines" [] -- | A unique identifier for this DiffStat. id :: T.DiffStat -> Aff T.ID id = R.scalar "id" [] -- | Type of change. kind_ :: T.DiffStat -> Aff T.DiffStatKind kind_ = R.scalar "kind" [] -- | Previous path of the file, set only for renames. oldPath :: T.DiffStat -> Aff (Maybe String) oldPath = R.scalar "oldPath" [] -- | Path of the changed file or directory. path :: T.DiffStat -> Aff String path = R.scalar "path" [] -- | Number of removed lines for this path. removedLines :: T.DiffStat -> Aff Int removedLines = R.scalar "removedLines" []