github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/core/paths/transientfile/delete.go (about)

     1  // Copyright 2020 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  //go:build !windows
     5  
     6  package transientfile
     7  
     8  // ensureDeleteAfterReboot is not required for *nix targets as Create expects
     9  // that the caller provides a true transient folder (e.g. a tmpfs mount).
    10  func ensureDeleteAfterReboot(string) error { return nil }