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

The file is being locked after read-csv is called #4

Open
suicodave opened this issue Apr 13, 2021 · 0 comments
Open

The file is being locked after read-csv is called #4

suicodave opened this issue Apr 13, 2021 · 0 comments

Comments

@suicodave
Copy link

 (defn read-csv [path as-vector?]
  (let [rows (csv-reader/read-csv path)
        final-rows (if (true? as-vector?) (vectorize-rows rows) rows)]
    (csv-reader/close! rows)
    final-rows))

I have this function called but when I try to rename the file, it will say that it is currently in use. How can I release it?

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

No branches or pull requests

1 participant