获取bazaar中的文件大小
如何获取版本控制文件的大小?这似乎是一个非常常见的操作,但我找不到如何操作(我错过了什么吗?)。好吧,我可以通过捕获它并计算字节来间接获取它,但这非常慢。
任何帮助都将被适当。
How can I get the size of a versioned file/files? This seems to be a very common operation but I can't find how (Am I missing something?). Well, I can get it indirectly by catting it and count the bytes but this is very slow.
Any help would be appropriated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法从命令行获取有关文件大小的信息,但可以通过 python 使用 bzrlib 获取它。
You can't get information about file size from command-line but can get it with python, using bzrlib.