mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #2174] [MERGED] refactor: filecollector into new package #2304
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#2304
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/2174
Author: @ChristopherHX
Created: 1/28/2024
Status: ✅ Merged
Merged: 1/30/2024
Merged by: @mergify[bot]
Base:
master← Head:refactor-filecollector-into-new-package📝 Commits (5)
6d3c6e6refactor: filecollector into new package164f338Merge branch 'master' into refactor-filecollector-into-new-packagea591709Add test for symlinks9a8c5ceadd test fix bug of GetContainerArchive43b091badd test data📊 Changes
6 files changed (+160 additions, -35 deletions)
View changed files
📝
pkg/container/docker_run.go(+5 -4)📝
pkg/container/host_environment.go(+11 -10)📝
pkg/container/host_environment_test.go(+67 -0)➕
pkg/container/testdata/scratch/test.txt(+1 -0)📝
pkg/filecollector/file_collector.go(+17 -17)📝
pkg/filecollector/file_collector_test.go(+59 -4)📄 Description
To be able to reuse this logic across packages it makes sense for me to export it and move this into a new package.
This helps to remove the copy of filecollector in https://github.com/nektos/act/pull/2155
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.