Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Add CreateAll func to dir service to create dirs recursively #146

Merged
merged 4 commits into from
Nov 14, 2019

Conversation

SimonBarendse
Copy link
Member

It works just like mkdir -p, creating all directories that do not
exist yet recursively and it does not error when the directories
already exist.

It works just like mkdir -p, creating all directories that do not
exist yet recursively and it does not error when the directories
already exist.
Copy link
Member

@mackenbach mackenbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it! Was long overdue and makes secrethub mkdir -p possible 😍

I have only two small docs suggestions and one question about the logic.

pkg/secrethub/dir.go Show resolved Hide resolved
pkg/secrethub/dir.go Show resolved Hide resolved
pkg/secrethub/dir.go Outdated Show resolved Hide resolved
@SimonBarendse SimonBarendse merged commit 797aba9 into develop Nov 14, 2019
@SimonBarendse SimonBarendse deleted the feature/dir-create-all branch November 14, 2019 12:01
@SimonBarendse SimonBarendse mentioned this pull request Nov 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants