-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't workingwontfixThis will not be worked onThis will not be worked on
Description
어떤 버그인가요?
touch 명령어 사용 시 같은 이름의 파일이 생성 가능한 이슈
어떤 상황에서 발생한 버그인가요?
터미널을 활용하여 touch 명령어 실행시 현재 위치한 디렉토리를 기준으로 같은 이름의 엔트리가 생성되는 이슈
예상 결과
터미널을 활용하여 touch 명령어 실행시 현재 위치한 디렉토리를 기준으로 같은 이름의 엔트리가 생성되면 엔트리가 생성되지 않고 이미 해당 디렉토리에 엔트리가 존재한다고 메시지 출력
📝작업 내용
touch 명령어 사용 시 같은 이름의 파일이 생성 가능한 이슈를 해결하기 위한 코드 수정
EntryRepositoryCustom.java
- 현재 경로에 동일한 이름의 파일이나 디렉토리가 있는지 확인하기 위한 findByWorkspaceIdAndParentIdAndNameDTO() 추가
EntryRepositoryCustomImpl.java
- 현재 경로에 동일한 이름의 파일이나 디렉토리가 있는지 확인하기 위한 findByWorkspaceIdAndParentIdAndNameDTO() 구현
TerminalService.java
- touch() 메서드 내에 현재 경로에 동일한 이름의 파일이나 디렉토리가 있는지 확인하기 위한 로직 추가
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwontfixThis will not be worked onThis will not be worked on