MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / newSymlinkNode

Method newSymlinkNode

cmd/cql-fuse/fs.go:313–320  ·  view source on GitHub ↗

newSymlinkNode returns a new node struct corresponding to a symlink.

()

Source from the content-addressed store, hash-verified

311
312// newSymlinkNode returns a new node struct corresponding to a symlink.
313func (cfs CFS) newSymlinkNode() *Node {
314 return &Node{
315 cfs: cfs,
316 ID: cfs.newUniqueID(),
317 // Symlinks don't have permissions, allow all.
318 Mode: os.ModeSymlink | allPerms,
319 }
320}

Callers 1

SymlinkMethod · 0.80

Calls 1

newUniqueIDMethod · 0.95

Tested by

no test coverage detected