1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: filename => file_name

This commit is contained in:
yuyi
2020-03-19 22:49:07 +08:00
committed by GitHub
parent 216c7a16d8
commit 010f3efcf0
17 changed files with 20 additions and 20 deletions

View File

@ -54,7 +54,7 @@ pub fn run_repl_file(wd string, vexec string, file string) ?string {
input := content.all_before('===output===\n')
output := content.all_after('===output===\n')
fname := os.filename( file )
fname := os.file_name( file )
input_temporary_filename := os.realpath(os.join_path( wd, 'input_temporary_filename.txt'))
os.write_file(input_temporary_filename, input)