]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/embed/embed.go
[dev.regabi] all: merge master (fca94ab) into dev.regabi
[gostls13.git] / src / embed / embed.go
index f12bf31e767c01c200066211cce9c69daf13f8a6..5f984aaf71d285cecceb00ccd928b85a62a3dad1 100644 (file)
@@ -143,7 +143,7 @@ import (
 // See the package documentation for more details about initializing an FS.
 type FS struct {
        // The compiler knows the layout of this struct.
-       // See cmd/compile/internal/gc's initEmbed.
+       // See cmd/compile/internal/staticdata's WriteEmbed.
        //
        // The files list is sorted by name but not by simple string comparison.
        // Instead, each file's name takes the form "dir/elem" or "dir/elem/".
@@ -213,7 +213,7 @@ var (
 // It implements fs.FileInfo and fs.DirEntry.
 type file struct {
        // The compiler knows the layout of this struct.
-       // See cmd/compile/internal/gc's initEmbed.
+       // See cmd/compile/internal/staticdata's WriteEmbed.
        name string
        data string
        hash [16]byte // truncated SHA256 hash