MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_sink_set_permissions

Function test_sink_set_permissions

atomic-core/src/output/traits.rs:921–924  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

919
920 #[test]
921 fn test_sink_set_permissions() {
922 let sink = Sink::new();
923 sink.set_permissions("/any/path", 0o755).unwrap();
924 }
925
926 #[test]
927 fn test_sink_write_file() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
set_permissionsMethod · 0.45

Tested by

no test coverage detected