Skip to content

Separate Write methods into their own interface #17

@b5

Description

@b5

Write is pretty basic, but after some thought I've come to believe we don't want write multiplexing. So Writable should get it's own interface:

type WriteableFilesystem interface {
  Put(ctx context.Context, f File) (string, error)
}

This way mix can not implement this interface, which'll show users they must first demux before writing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions