hujiulong / dgit

A simple CLI for downloading git repository files.
MIT License
40 stars 9 forks source link

不支持下载中文文件(夹)吗? #3

Closed wll8 closed 6 years ago

wll8 commented 6 years ago
  C:\Users\Desktop>dgit wll8/batch/readme.md /test/

    github:wll8/batch/readme.md  ref: master

  √ readme.md

    Download complete.

    downloaded 1 files, totaling 740 B.

  C:\Users\Desktop>dgit wll8/batch/list/文件关联/文件关联.bat /test/
  × list/文件关联/文件关联.bat

  C:\Users\Desktop>dir C:\test
   驱动器 C 中的卷没有标签。
   卷的序列号是 E41C-BF66

   C:\test 的目录

  2018/01/29  15:41    <DIR>          .
  2018/01/29  15:41    <DIR>          ..
  2018/01/29  15:40               740 readme.md
  2018/01/29  15:41                 0 文件关联.bat
                 2 个文件            740 字节
                 2 个目录 38,817,026,048 可用字节

成功: dgit wll8/batch/readme.md /test/ 失败: dgit wll8/batch/list/文件关联/文件关联.bat /test/