IsFileUnmodified
@aurorajs.dev/catalyst-cli / generator/engine/lock-file / isFileUnmodified
Function: isFileUnmodified()
Section titled “Function: isFileUnmodified()”isFileUnmodified(
filePath,lockFiles,relativePath):boolean
Defined in: generator/engine/lock-file.ts:355
Check if a file’s current content matches its lock file integrity hash. Returns true if the file has NOT been modified by the user.
Parameters
Section titled “Parameters”filePath
Section titled “filePath”string
lockFiles
Section titled “lockFiles”LockFile[]
relativePath
Section titled “relativePath”string
Returns
Section titled “Returns”boolean