From d7f5fac1835e337ec9ce59b6ac2aeea0963e9ef9 Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Thu, 26 Jan 2023 10:54:04 +0100 Subject: [PATCH] disk: clarify comment --- internal/disk/partition_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/disk/partition_table.go b/internal/disk/partition_table.go index 27be1173e..f442fd714 100644 --- a/internal/disk/partition_table.go +++ b/internal/disk/partition_table.go @@ -189,7 +189,7 @@ func (pt *PartitionTable) findDirectoryEntityPath(dir string) []Entity { // EnsureDirectorySizes takes a mapping of directory paths to sizes (in bytes) // and resizes the appropriate partitions such that they are at least the size -// of the sum of their subdirectories. +// of the sum of their subdirectories plus their own sizes. // The function will panic if any of the directory paths are invalid. func (pt *PartitionTable) EnsureDirectorySizes(dirSizeMap map[string]uint64) {