MCPcopy Index your code
hub / github.com/containers/toolbox / handleFileSystemEvent

Function handleFileSystemEvent

src/cmd/initContainer.go:916–925  ·  view source on GitHub ↗
(event fsnotify.Event)

Source from the content-addressed store, hash-verified

914}
915
916func handleFileSystemEvent(event fsnotify.Event) {
917 eventOpString := event.Op.String()
918 logrus.Debugf("Handling file system event: operation %s on %s", eventOpString, event.Name)
919
920 if event.Name == "/run/host/etc/localtime" {
921 if err := updateTimeZoneFromLocalTime(); err != nil {
922 logrus.Warnf("Failed to handle changes to the host's /etc/localtime: %v", err)
923 }
924 }
925}
926
927func ldConfig(configFileBase string, dirs []string) error {
928 logrus.Debug("Updating dynamic linker cache")

Callers 1

initContainerFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…