Me
Sounds good. Can you make a function to clone an existing FileNode, initializing Addr to nil and Children to be a clone of the Children of the source node?
// FileNode represents a node in the file system structure, which can be a file or a directory.
type FileNode struct {
Type NodeType
Addr *grits.FileAddr // Address of the CachedFile in BlobStore
Children map[string]*FileNode
}
GPT
In DigitalOcean and similar cloud service providers, resources like droplets (virtual machines) continue to incur charges even when they are powered off because the underlying physical resources (CPU, RAM, disk space) allocated to the droplet are reserved and cannot be allocated to another customer. This policy ensures that you can quickly power on the droplet again without data loss or having to go through the setup process again. However, to avoid charges for resources you’re not actively using, it’s recommended to delete any droplets or resources that are no longer needed. Remember, data backups and snapshots should be kept if you need to preserve data from the droplet before deletion.
Edit: It’s still going. I assumed it was just a one-off, and asked about JSON serialization in Go, and it showed me this:
Then it tried to run some python code, then admitted that the python code hadn’t worked, and then it answered my Go question.