Skip to content
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

Decide to use os.Mkdir when creating chain layer directories since the temporary directory should already exist. The temporary directory is the parent of the chain layer directories, so there is no need to use os.MkdirAll as there will be no intermediate directories. #374

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jan 6, 2025

Decide to use os.Mkdir when creating chain layer directories since the temporary directory should already exist. The temporary directory is the parent of the chain layer directories, so there is no need to use os.MkdirAll as there will be no intermediate directories.

@copybara-service copybara-service bot changed the title Decide to use os.Mkdir when creating chain layer temp directories. Decide to use os.Mkdir when creating chain layer directories since the temporary directory should already exist. The temporary directory is the parent of the chain layer directories, so there is no need to use os.MkdirAll as there will be no intermediate directories. Jan 14, 2025
…the temporary directory should already exist. The temporary directory is the parent of the chain layer directories, so there is no need to use `os.MkdirAll` as there will be no intermediate directories.

PiperOrigin-RevId: 715191422
@copybara-service copybara-service bot merged commit 8e85eeb into main Jan 14, 2025
@copybara-service copybara-service bot deleted the test_712408022 branch January 14, 2025 02:58
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.

0 participants