Skip to content

feat: Add ls fallback support for files.File fact #1384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: 3.x
Choose a base branch
from

Conversation

mrkbac
Copy link

@mrkbac mrkbac commented Jun 26, 2025

Add ls fallback support for files.File fact (stat is not available on some embedded systems)

The drawback is the limited timestamps: ls only provides the mtime (as opposed to stat's atime, mtime and ctime).

  • Pull request is based on the default branch (3.x at this time)
  • Pull request includes tests for any new/updated operations/facts
  • Pull request includes documentation for any new/updated operations/facts
  • Tests pass (see scripts/dev-test.sh)
  • Type checking & code style passes (see scripts/dev-lint.sh)

@mrkbac mrkbac marked this pull request as draft June 30, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant