7xGit / 7xGit/7xGit_Task4

Normalize File Deletion Logic

Ouverte Adaptée aux débutants
#1 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug enhancement
Langage dominant
Python
Étoiles
1
Forks
3
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Description:
Currently, file deletion fails if the user does not type .txt manually. Make the delete logic smart enough to:

Check and append .txt if not already present.
Allow deletion by typing just the base name.
Expected Behavior:

Enter file name to delete: notes
→ Deletes notes.txt (if exists)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Look for the file deletion function in the codebase, likely in a main CLI script. The logic should check if the input filename ends with '.txt'; if not, append it before attempting deletion. Test by running the program and trying to delete a file with and without the extension.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
75/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.