Basic utils
[deliverable/lttng-ivc.git] / lttng_ivc / utils / utils.py
1 def line_count(file_path):
2 line_count = 0
3 with open(file_path) as f:
4 for line in f:
5 line_count += 1
6 return line_count
This page took 0.031982 seconds and 5 git commands to generate.