• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-pkgz / testutils
71%
main: 81%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.4.3
DEFAULT BRANCH: main
Repo Added 06 Aug 2023 11:36PM UTC
Files 9
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH refs/tags/v0.4.3
branch: refs/tags/v0.4.3
CHANGE BRANCH
x
Reset
  • refs/tags/v0.4.3
  • add-ftp-container
  • add-test-utilities
  • feature/file-operations
  • fix-ssh-container-relative-paths
  • linter-improvements
  • main
  • master
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.4.2

14 Jul 2025 05:52AM UTC coverage: 70.659% (+0.6%) from 70.031%
16259092692

push

github

web-flow
fix(containers): handle relative paths in SSH container SaveFile (#5)

- Fix createDirRecursive to properly handle both absolute and relative paths
- Add security validation to prevent path traversal attacks
- Eliminate race condition in directory creation
- Add comprehensive tests for relative paths and security scenarios
- Update dependencies to latest versions

The SSH container's SaveFile method now correctly creates directories
for relative paths by using the SFTP working directory as the base,
rather than always starting from root.

Fixes issue where SaveFile with paths like 'subdir/file.txt' would
fail with permission denied when trying to create /subdir.

33 of 39 new or added lines in 1 file covered. (84.62%)

1 existing line in 1 file now uncovered.

708 of 1002 relevant lines covered (70.66%)

3.94 hits per line

Relevant lines Covered
Build:
Build:
1002 RELEVANT LINES 708 COVERED LINES
3.94 HITS PER LINE
Source Files on refs/tags/v0.4.3
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16259092692 refs/tags/v0.4.3 fix(containers): handle relative paths in SSH container SaveFile (#5) - Fix createDirRecursive to properly handle both absolute and relative paths - Add security validation to prevent path traversal attacks - Eliminate race condition in directory... push 14 Jul 2025 05:57AM UTC web-flow github
70.66
See All Builds (38)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc