mherrmann / mherrmann/fman

Add an open(...) method to the FileSystem API

Open
#317 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

5 votes API enhancement
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

If FileSystems can implement a generic open(...) method that opens a file as a text or binary stream for reading or writing, then fman itself could implement a default implementation for copying / moving across file system boundaries. For example, to copy from dropbox:// to file://, fman could open(dropbox://) for reading, then open(file://) for writing and stream the contents of one to the other.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the FileSystem API and its existing implementations; the issue names no files or tests. Define how a generic open(...) method should provide text or binary streams for reading and writing, then verify that it can support cross-filesystem copying and moving as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.