Skip to content

Conversation

@frrist
Copy link
Member

@frrist frrist commented Jul 21, 2021

func (fs fileStore) CreateTemp() (File, error) {
f, err := ioutil.TempFile(fs.base, "fstmp")
func (fs fileStore) CreateTemp(pattern string) (File, error) {
if len(pattern) == 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: if pattern == "" is probably more idiomatic, but good to go as-is

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.

Storage Provider creates informative names for deal data staged via the FileStore

3 participants