Пример #1
0
 public void AddEntry(SubmoduleEntry entry)
 {
     setString("submodule", entry.Name, "path", entry.Path);
     setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
     if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
         setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
 }
Пример #2
0
 public void AddEntry(SubmoduleEntry entry)
 {
     setString("submodule", entry.Name, "path", entry.Path);
     setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
     if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
     {
         setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
     }
 }
Пример #3
0
        public void AddEntry(SubmoduleEntry entry)
        {
            if (entry == null)
                throw new System.ArgumentNullException ("entry");

            setString("submodule", entry.Name, "path", entry.Path);
            setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
            if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
                setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
        }
Пример #4
0
        public void AddEntry(SubmoduleEntry entry)
        {
            if (entry == null)
            {
                throw new System.ArgumentNullException("entry");
            }

            setString("submodule", entry.Name, "path", entry.Path);
            setString("submodule", entry.Name, "url", entry.Url.ToPrivateString());
            if (entry.Update != SubmoduleEntry.UpdateMethod.Checkout)
            {
                setString("submodule", entry.Name, "update", entry.Update.ToString().ToLowerInvariant());
            }
        }