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

[Feature Request] Implementation and binding for base-level IO functions #443

Open
HLWeil opened this issue Sep 23, 2024 · 2 comments
Open
Labels
Type: Feature Request This item is confirmed by the maintainers to be a request for a new feature

Comments

@HLWeil
Copy link
Member

HLWeil commented Sep 23, 2024

We want to integrate top-level ARC IO functionality like read and write directly into the main library. For this, we need a few base-level IO functions we can call in all frameworks.

These functions include:

  • ensureDirectory: string -> unit
  • ensureFile: string -> unit
  • getAllFilePaths: string -> string []
  • readAllText: string -> string
  • writeAllText: string -> string -> unit
  • executeCommandWithResponse: string -> string -> string -> Result<string,string> (for git?)

Xlsx read/write should be covered by FsSpreadsheet.NET/Js/Py

@Freymaurer @kappe-c

@github-actions github-actions bot added the Status: Needs Triage This item is up for investigation. label Sep 23, 2024
@HLWeil HLWeil added Type: Feature Request This item is confirmed by the maintainers to be a request for a new feature and removed Status: Needs Triage This item is up for investigation. labels Sep 23, 2024
@Freymaurer
Copy link
Collaborator

  • writeAllText: string -> string -> string

What is the output? arg1: content as string, arg2: path. What is arg3?

@HLWeil
Copy link
Member Author

HLWeil commented Sep 27, 2024

  • writeAllText: string -> string -> string

What is the output? arg1: content as string, arg2: path. What is arg3?

Idk 😅 , edited to unit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request This item is confirmed by the maintainers to be a request for a new feature
Projects
Status: In discussion
Development

No branches or pull requests

2 participants