dotcloud/docker

View on GitHub
pkg/directory/directory_deprecated.go

Summary

Maintainability
A
0 mins
Test Coverage
package directory

import (
    "context"

    "github.com/docker/docker/internal/directory"
)

// Size walks a directory tree and returns its total size in bytes.
//
// Deprecated: this function is only used internally, and will be removed in the next release.
func Size(ctx context.Context, dir string) (int64, error) {
    return directory.Size(ctx, dir)
}