NuGet.PhysicalFileSystem.GetCreated C# (CSharp) 메소드

GetCreated() 공개 메소드

public GetCreated ( string path ) : DateTimeOffset
path string
리턴 DateTimeOffset
        public DateTimeOffset GetCreated(string path)
        {
            path = GetFullPath(path);
            if (File.Exists(path))
            {
                return File.GetCreationTimeUtc(path);
            }
            return Directory.GetCreationTimeUtc(path);
        }