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

Exposing replacement functions for deprecated IOUtil functions #3393

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

Neko-Box-Coder
Copy link
Contributor

The ioutil functions we have at the moment are deprecated by go.

These are

  • ReadAll()
  • ReadDir()
  • ReadFile()
  • WriteFile()

We should instead use the functions mentioned on the doc

@Neko-Box-Coder Neko-Box-Coder force-pushed the ReplacingDeprecatedIOUtil branch 2 times, most recently from 3327d47 to 8a5c89e Compare July 16, 2024 03:03
Copy link
Contributor

@niten94 niten94 left a comment

Choose a reason for hiding this comment

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

It is written in the commit message that the functions are replaced but it may be thought that the deprecated functions are removed. I do not think they should be removed yet, but I think it will be fine only changing the commit message to something like "Expose replacement of deprecated ioutil functions to plugins".

@Neko-Box-Coder
Copy link
Contributor Author

@niten94

Yeah thanks, I forgot to change the commit message when amending the commit.

@Neko-Box-Coder Neko-Box-Coder changed the title Replacing Deprecated IOUtil functions Exposing replacement functions for deprecated IOUtil functions Aug 8, 2024
@JoeKar JoeKar merged commit 3b3fe63 into zyedidia:master Sep 22, 2024
3 checks passed
@Neko-Box-Coder Neko-Box-Coder deleted the ReplacingDeprecatedIOUtil branch September 23, 2024 22:08
@dmaluka dmaluka mentioned this pull request Sep 30, 2024
7 tasks
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.

3 participants