You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: vlib/v/fmt/fmt.v
+13
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
// that can be found in the LICENSE file.
4
4
modulefmt
5
5
6
+
importos
6
7
importstrings
7
8
importv.ast
8
9
importv.util
@@ -53,6 +54,7 @@ pub mut:
53
54
wsinfix_depth int
54
55
format_state FormatState
55
56
source_text string// can be set by `echo "println('hi')" | v fmt`, i.e. when processing source not from a file, but from stdin. In this case, it will contain the entire input text. You can use f.file.path otherwise, and read from that file.
0 commit comments