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

Implement File Deletion Function #100

Open
emmalgs opened this issue Aug 30, 2023 · 0 comments · Fixed by #107
Open

Implement File Deletion Function #100

emmalgs opened this issue Aug 30, 2023 · 0 comments · Fixed by #107

Comments

@emmalgs
Copy link

emmalgs commented Aug 30, 2023

What it is

Implement a function in the FileSystemService to delete a user data file using the FileSystem module.

Context

Deleting user data files is required when removing users.

Acceptance Criteria

  • A function named deleteFile is defined in the FileSystemService module.
  • The function accepts a user ID as a parameter.
  • The function deletes the corresponding JSON file (based on the user ID) using fs.unlink.
@emmalgs emmalgs linked a pull request Aug 30, 2023 that will close this issue
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 a pull request may close this issue.

1 participant