How to download all files from Chrome Extensions example (subversion repo)?

我怕爱的太早我们不能终老 提交于 2019-12-19 10:49:12

问题


I would like to download this examples. They are shown using ViewVC (which I believe is related to subversion) and it seems that there is no easy way of downloading from there, according to this Stackoverflow question (but the answers are from 2011).

Is there any way to easily access those files? I don't mind command line tools.

Thanks.


回答1:


Every extension example in the source code is available as a zip file as well, directly linked at https://developer.chrome.com/extensions/samples.

If you compare the paths, you'll surely notice a pattern:

  • trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector
    https://developer.chrome.com/extensions/examples/api/tabs/inspector.zip

  • trunk/src/chrome/common/extensions/docs/examples/api/tabs/pin
    https://developer.chrome.com/extensions/examples/api/tabs/pin.zip

  • trunk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot
    https://developer.chrome.com/extensions/examples/api/tabs/screenshot.zip



来源:https://stackoverflow.com/questions/24410285/how-to-download-all-files-from-chrome-extensions-example-subversion-repo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!