C# (CSharp) GitSharp.Core LockFile - 16 exemples trouvés. Ce sont les exemples réels les mieux notés de GitSharp.Core.LockFile extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Git style file locking and replacement. To modify a ref file Git tries to use an atomic update approach: we write the new data into a brand new file, then rename it in place over the old name. This way we can just delete the temporary file if anything goes wrong, and nothing has been damaged. To coordinate access from multiple processes at once Git tries to atomically create the new temporary file under a well-known name.