首页 > 解决方案 > V 的路径中可以有空格吗?

问题描述

V 的路径中可以有空格吗?

我试图运行v fmt并得到了这个:

$ v fmt something.v 
sh: /Users/abcd/Library/Application: No such file or directory
Encountered a total of: 1 errors.

V 驻留在~/Library/Application Support/vlang 路径名中有空格。

也许相关,v doc命令似乎很少;我希望对每个函数的作用有一个总结。

$ v doc os
...
fn base_dir(path string) string
fn cache_dir() string
fn chdir(path string)
fn chmod(path string, mode int)
...

标签: vlang

解决方案


推荐阅读