File Uri Scheme and Relative Files

前端 未结 6 1649
借酒劲吻你
借酒劲吻你 2020-12-01 00:59

Assume that the scheme for a uri is \"file\". Also assume that the path starts with \'.\'

An example path is \'./.bashrc\'. How would the fulluri look? \'file://./.

6条回答
  •  失恋的感觉
    2020-12-01 01:49

    In a terminal you could type "file://$PWD/.bashrc" using "$PWD" to refer to the current directory.

提交回复
热议问题