Skip to content

functions: apply .funcignore rules in Fingerprint() #3732

@Vi-shub

Description

@Vi-shub

Context

Fingerprint documents that future behavior should respect .funcignore, but the implementation only skips .func and .git directories.

Code

pkg/functions/client.go -> Fingerprint walk skips RunDataDir and .git only; comment says “Future updates will include … .funcignore”.

Goal

  • Parse .funcignore (same semantics as reasonable for this project).
  • Skip ignored paths when hashing so fingerprints match intended source sets.

Acceptance criteria

  • Unit tests with a small tree + .funcignore proving ignored files do not affect the hash.

While diving in codebase more I found this :)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions