mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
refactor: replace "folder" with "directory" across file handling components and tests
This commit is contained in:
1 parent
7e50c8e06c
commit
cdd22634e0
18 files changed
+150
-104
No files matched your search
@@ -20,7 +20,7 @@ export default class FileGraph extends FileNode {
|
||||
|
||||
remove(files: FileObject[]) {
|
||||
// Logic to remove a file node from the graph
|
||||
// If the file node is a folder, also remove all children
|
||||
// If the file node is a directory, also remove all children
|
||||
// If the file node doesn't exist, throw an error
|
||||
|
||||
files.forEach((file) => {
|
||||
|
||||
Reference in new issue
Block a user