mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 09:32:08 +00:00
drive: fix minor typos in comments
Signed-off-by: Craig Hesling <craig@hesling.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
c76d075472
commit
ead6a72e45
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user