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.032465 seconds and 6 git commands to generate.