Skip to content

[path_provider] Create temp dir in tests if needed - #1192

Merged
seungsoo47 merged 1 commit into
flutter-tizen:mainfrom
seungsoo47:upstream-plugins-path-provider-temp-dir
Oct 22, 2026
Merged

seungsoo47 merged 1 commit into
flutter-tizen:mainfrom
seungsoo47:upstream-plugins-path-provider-temp-dir

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor

getTemporaryDirectory does not guarantee that the returned directory exists, so create it before writing the sample file.

On Tizen the temporary directory is app_get_cache_path(), which is created at install time, so this is not an issue here. The change is ported to keep the integration test in sync with upstream.

Upstream: flutter/packages#11841 (2e006b29b1f0)

getTemporaryDirectory does not guarantee that the returned directory
exists, so create it before writing the sample file.

On Tizen the temporary directory is app_get_cache_path(), which is
created at install time, so this is not an issue here. The change is
ported to keep the integration test in sync with upstream.

Upstream: flutter/packages#11841 (2e006b29b1f0)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T01:39:26.811611Z 71157bc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@seungsoo47
seungsoo47 merged commit 1998f1b into flutter-tizen:main Oct 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants