NoLargeBinaryFiles
constNoLargeBinaryFiles:object
Defined in: policies/NoLargeBinaryFiles.ts:123
A repo policy that prevents large binary files from being committed to the repository. Large files can bloat the repository and slow down clones. Consider using Git LFS for large assets.
Type Declaration
Section titled “Type Declaration”description
Section titled “description”description:
string="Prevents large binary files from being committed to avoid repository bloat; consider using Git LFS for large assets."
handler
Section titled “handler”handler: (
__namedParameters) =>Promise<PolicyFinding[]>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”PolicyArgs<NoLargeBinaryFilesSettings>
Returns
Section titled “Returns”match:
RegExp
name:
string="NoLargeBinaryFiles"