Skip to content

Commit 7c32266

Browse files
committed
fix: rename export titles and filenames
1 parent 0ed59ca commit 7c32266

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/generator/repo-tree-generator.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,19 +275,19 @@ export default function RepoProjectStructure() {
275275

276276
switch (format) {
277277
case "md":
278-
content = `# Directory Structure\n\n\`\`\`\n${customizedStructure}\`\`\``
278+
content = `# Repository Structure\n\n\`\`\`\n${customizedStructure}\`\`\``
279279
mimeType = "text/markdown;charset=utf-8"
280280
fileName = "README.md"
281281
break
282282
case "txt":
283283
content = customizedStructure
284284
mimeType = "text/plain;charset=utf-8"
285-
fileName = "directory-structure.txt"
285+
fileName = "repository-structure.txt"
286286
break
287287
case "json":
288288
content = JSON.stringify(convertMapToJson(filteredStructureMap), null, 2)
289289
mimeType = "application/json;charset=utf-8"
290-
fileName = "directory-structure.json"
290+
fileName = "repository-structure.json"
291291
break
292292
case "html":
293293
content = `
@@ -305,7 +305,7 @@ export default function RepoProjectStructure() {
305305
</html>
306306
`
307307
mimeType = "text/html;charset=utf-8"
308-
fileName = "directory-structure.html"
308+
fileName = "repository-structure.html"
309309
break
310310
}
311311

0 commit comments

Comments
 (0)