1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/loc.md

21 lines
524 B
Markdown
Raw Normal View History

# loc
> 코드의 줄 수를 계산합니다. Rust로 작성되었습니다.
> 더 많은 정보: <https://github.com/cgag/loc>.
- 현재 디렉토리의 코드 줄 수 출력:
`loc`
- 대상 디렉토리의 코드 줄 수 출력:
`loc {{경로/대상/폴더}}`
- 개별 파일에 대한 통계와 함께 코드 줄 수 출력:
`loc --files`
- .gitignore (등) 파일을 제외하고 코드 줄 수 출력 (예: `-u` 플래그를 두 번 사용하면 숨겨진 파일과 디렉토리도 추가로 계산):
`loc -u`