drive: fix minor typos in comments

Signed-off-by: Craig Hesling <craig@hesling.com>
This commit is contained in:
Craig Hesling
2025-04-02 21:20:40 -07:00
committed by Brad Fitzpatrick
parent c76d075472
commit ead6a72e45
3 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ func (c *Child) isAvailable() bool {
// Any attempts to perform operations on paths inside of children will result
// in a panic, as these are not expected to be performed on this FS.
//
// An FS an optionally have a StaticRoot, which will insert a folder with that
// An FS can optionally have a StaticRoot, which will insert a folder with that
// StaticRoot into the tree, like this:
//
// -- <StaticRoot>

View File

@@ -61,7 +61,7 @@ func NewFileServer() (*FileServer, error) {
}, nil
}
// generateSecretToken generates a hex-encoded 256 bit secet.
// generateSecretToken generates a hex-encoded 256 bit secret.
func generateSecretToken() (string, error) {
tokenBytes := make([]byte, 32)
_, err := rand.Read(tokenBytes)