MCPcopy
hub / github.com/harness/harness / DeleteByFileForPrincipal

Method DeleteByFileForPrincipal

app/store/database.go:550–550  ·  view source on GitHub ↗

DeleteByFileForPrincipal deletes the entry for the specified PR, principal, and file.

(ctx context.Context, prID int64, principalID int64, filePath string)

Source from the content-addressed store, hash-verified

548
549 // DeleteByFileForPrincipal deletes the entry for the specified PR, principal, and file.
550 DeleteByFileForPrincipal(ctx context.Context, prID int64, principalID int64, filePath string) error
551
552 // MarkObsolete updates all entries of the files as obsolete for the PR.
553 MarkObsolete(ctx context.Context, prID int64, filePaths []string) error

Callers 1

FileViewDeleteMethod · 0.65

Implementers 1

PullReqFileViewStoreapp/store/database/pullreq_file_view_s

Calls

no outgoing calls

Tested by

no test coverage detected