func (u *Unordered) PutFile(path string, hash []byte, size int64, blockRefs ...*pfs.BlockRef) {
	path = join(u.root, path)
	nodeProto := &NodeProto{
		Name:        base(path),
		Hash:        hash,
		SubtreeSize: size,
		FileNode: &FileNodeProto{
			BlockRefs: blockRefs,
		},
	}
	u.fs[path] = nodeProto
	u.createParents(path)
}
func (u *Unordered) PutFile(path string, hash []byte, size int64, blockRefs ...*pfs.BlockRef) {
	path = join(u.root, path)
	nodeProto := &NodeProto{
		Name:        base(path),
		Hash:        hash,
		SubtreeSize: size,
		FileNode: &FileNodeProto{
			BlockRefs: blockRefs,
		},
	}
	u.fs[path] = nodeProto
	u.createParents(path)
}
func ( u * Unordered ) PutFile ( path string , hash [ ] byte , size int64 , blockRefs ... * pfs . BlockRef ) { path = join ( u . root , path ) nodeProto := & NodeProto { Name : base ( path ) , Hash : hash , SubtreeSize : size , FileNode : & FileNodeProto { BlockRefs : blockRefs , } , } u . fs [ path ] = nodeProto u . createParents ( path ) }
// PutFile puts a file in the hashtree.
PutFile puts a file in the hashtree .