MCPcopy Create free account
hub / github.com/tailscale/tailscale / AllowShareAs

Function AllowShareAs

drive/remote.go:24–26  ·  view source on GitHub ↗

AllowShareAs reports whether sharing files as a specific user is allowed.

()

Source from the content-addressed store, hash-verified

22
23// AllowShareAs reports whether sharing files as a specific user is allowed.
24func AllowShareAs() bool {
25 return !DisallowShareAs && doAllowShareAs()
26}
27
28// Share configures a folder to be shared through drive.
29type Share struct {

Callers 4

buildShareLongHelpFunction · 0.92
serveSharesMethod · 0.92
SetSharesMethod · 0.92
buildChildMethod · 0.92

Calls 1

doAllowShareAsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…