我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

tar归档头不存储目录大小吗?

How does tar -cf store information about the size of a directory that it archives? I'm able to read headers for actual files but when I come across a header that represents metadata for a directory, I'm seeing that the size of the directory is 0...

Perhaps I am just streaming the tar archive incorrectly? However, I don't see how likely that is since I am able to get information from regular files fine.

近期文章

  • 在Golang中最后一次出现模式后,HTML模板解析提取标头
  • Windows XP上的Golang WebServer运行一段时间后无法再处理HTTP请求
  • 是否可以从Go'net'包访问嵌入在'OpError'结构中的'DNSError'结构的字段?
  • 流程附加#! 回调URL
  • 如何使用Redigo进行“冲洗”?
  • 困惑为什么这个CGO恐慌
  • 在Golang中使用libnfc
  • Golang RPC服务器Docker自动部署
  • 如何在Golang中比较HTML标记?
  • 无法列出书籍:错误1046:未选择数据库
  • 如何有效地在go的中间件中共享数据?
  • 通过SetDeadline()为TCP侦听器设置超时
  • 将渲染的电子邮件发送到SendGrid的最快方法
  • 去任意查询
  • Golang json / gob / xml中的序列化性能
  • 在go 1.4.2中使用net包编译静态链接的测试二进制代码
  • GOLang:提取XML问题
  • 数据无法保存在我的数据库中
  • Golang:基准基数树查找
  • 为什么Go build可执行文件在第三方库的osx 10.7或更低版​​本上不起作用?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华