Skip to content

[SUPERSEDED] feat(core-file-discovery): define FileNode model [task/02] - #18

Closed
YamiDaisuke wants to merge 2 commits into
mainfrom
feat/define-file-node-model
Closed

[SUPERSEDED] feat(core-file-discovery): define FileNode model [task/02]#18
YamiDaisuke wants to merge 2 commits into
mainfrom
feat/define-file-node-model

Conversation

@YamiDaisuke

Copy link
Copy Markdown
Owner

Summary

Adds FileNode to Sources/Core/ — an indirect enum representing either a file (name + path) or a directory (name + path + ordered children), conforming to Equatable and Identifiable.

Changes

  • Sources/Core/FileNode.swift (new): FileNode indirect enum with file and directory cases, synthesised Equatable, Identifiable via id: URL, and name/path computed properties for uniform access

Related Task

docs/specs/core-file-discovery.md · TASK-02

Stack

Target branch: main

Checklist

  • All acceptance criteria from the task are met
  • Code follows conventions in docs/ARCHITECTURE.md
  • Tests added or updated where required by spec or architecture
  • Only changes related to this task are included
  • Spec task status updated to done

Generated by Claude Code

claude added 2 commits June 6, 2026 17:55
Adds FileNode indirect enum to Core with file and directory cases.
Conforms to Equatable (synthesised) and Identifiable (id: URL).
Exposes name and path computed properties for uniform access across cases.

https://claude.ai/code/session_01BuCBWNQyhdp6BGmAQXik5L
@YamiDaisuke YamiDaisuke changed the title feat(core-file-discovery): define FileNode model [task/02] [SUPERSEDED] feat(core-file-discovery): define FileNode model [task/02] Jun 6, 2026
@YamiDaisuke YamiDaisuke closed this Jun 6, 2026
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 this pull request may close these issues.

2 participants